Dismiss Notice

Register now to be one of the first members of this SharePoint Community! Click here it just takes seconds!

Dismiss Notice
Welcome Guest from Country Flag

Cascading dropdown using SPServices?

Discussion in 'Official Microsoft News' started by Viipiin Tyagi, Dec 28, 2015.

Thread Status:
Not open for further replies.
  1. Viipiin Tyagi

    Viipiin Tyagi Guest

    Blog Posts:
    0
    0
    0
    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!

    Continue reading...
     
Thread Status:
Not open for further replies.

Share This Page

LiveZilla Live Chat Software