.SPDisplayRelatedInfo Problem

Jun 5, 2013 at 7:31 PM
Edited Jun 5, 2013 at 7:32 PM
I'm trying to use DisplayrelatedInfo, but can't get it to work for some reason.

Here's my code:-

<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
<script language="javascript" type="text/javascript" src="../../Resources/jquery-1.10.0.min.js"></script>
<script language="javascript" type="text/javascript" src="../../Resources/jquery.SPServices-2013.01.min.js"></script>
<script language="javascript" type="text/javascript"> $(document).ready(function() { //alert("jQuery"); alert($().SPServices.SPGetCurrentSite()); $().SPServices.SPDisplayRelatedInfo({ columnName: "FSC", relatedList: "Products", relatedListColumn: "FSC", relatedColumns: ["Description"], displayFormat: "table", debug: true }); </script> FSC is the Display Name of the lookup column in the form, Products is the lookup list and FSC is the Static Name in the Products List.

When I select a value, I get a JavaScript error:-
"Wrong Number Of Arguments Or Invalid Property Assignment."

Can someone help please? Really can't see what I've done wrong.

I'm using jquery-1.10.0.min.js and jquery.SPServices-2013.01.min.js and have confirmed they're both being used.
Jun 5, 2013 at 7:34 PM
I didn't even know that jQuery 1.10.0 was out, much less have I tested with it. Try with 1.8.3.

Jun 5, 2013 at 7:53 PM
That worked. Thanks for the prompt reply.