Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Commented Unassigned: Multiple cascading dropdown list [10169]

$
0
0
I have three list items : Department, Team, and ComplainType
Both Team and ComplainType are based on Department, however only first call to SPServices.SPCascadeDropdowns is working. Below is my code. Any help appreciated.




<script language="javascript" type="text/javascript" src="jQuery1.10.2-min.js"></script>
<script language="javascript" type="text/javascript" src="jquery.SPServices-2013.01.min.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
$().SPServices.SPCascadeDropdowns({
relationshipWebURL: "/",
relationshipList: "DepartmentTeam",
relationshipListParentColumn: "Department",
relationshipListChildColumn: "Title",
parentColumn: "Department",
childColumn: "Team"
});

$().SPServices.SPCascadeDropdowns({
relationshipWebURL: "/",
relationshipList: "DepartmentComplaintTypes",
relationshipListParentColumn: "Department",
relationshipListChildColumn: "Title",
parentColumn: "Department",
childColumn: "ComplaintType"
});

});
</script>
Comments: I had tested this with version 0.7.2 and it is working fine. So there must be a bug in the new version.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>