0

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!

(Visited 33 times, 1 visits today)
Add a Comment