Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: Cascading Dropdowns not working in IE8, but are working in Firefox

Marc,
thanks for the quick reply and my apologies for the code- I think this will look better. As you suggested, I'll take a look at removing the other calls and see where that gets me.

Thanks,
Neil
<script language="javascript" type="text/javascript" src="/sites/canberra/JS/jquery-1.11.0.js"></script>
<script language="javascript" type="text/javascript" src="/sites/canberra/JS/jquery.SPServices-2014.01.min.js"></script>

<script language="javascript" type="text/javascript">
$(document).ready(function() {

    // Change the orientation of the Lead Source options from vertical to horizontal
    $().SPServices.SPArrangeChoices({
        columnName: "Lead Source",
        perRow: 3
    });

    // Change the orientation of the Color options from vertical to horizontal
    $().SPServices.SPArrangeChoices({
        columnName: "Color",
        perRow: 3
    });

    // Set up the cascade from Region to State
    $().SPServices.SPCascadeDropdowns({
        listName: "Cascading Dropdowns",
        relationshipList: "States",
        relationshipListParentColumn: "Region",
        relationshipListChildColumn: "Title",
        relationshipListSortColumn: "Title",
        parentColumn: "Region",
        childColumn: "State",
        debug: true
    });

});
</script>   

Viewing all articles
Browse latest Browse all 6517

Trending Articles