Hiii,
I am not able to find the solution that how I bind two dropdowns from a single list using SPServices.
Like….
<script type=”text/javascript” src=”../jquery-1.4.4.min.js”></script>
<script type=”text/javascript” src=”../jquery.SPServices-0.5.8.min.js”></script>
<script type=”text/javascript”>
$(document).ready(function() {
$(‘#countries’).SPServices.SPCascadeDropdowns({
{
relationshipList: “LocationRoom”,
relationshipParentList : “LocationRoom”,
relationshipParentListColumn : “Region”,
relationshipListChildColumn : “Location”,
relationshipListParentColumn : “Region”,
childdropdown : “cities”
});
});
</script>
<select id=”countries” style=”width:150px;”>
</select>
<select id=”cities”>
</select>
Need Your Help!
Check the documentation on the SPServices site on CodePlex. Also, use recent versions of both libraries. You’re way behind!
M.
