Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: CascadingDropdown on SP2013

marc,

Checked the Script tab in the IE Dev tool and both are loading correctly. I changed from a CEWP to a Script Editor web part. I am now getting a syntax error (SCRIPT1002: Syntax error) at the bottom of the inserted script (see </DIV>). Heres the portion of code wrapped in the DIV:
<DIV class="ms-rte-embedcode ms-rte-embedwp"><script language="javascript" type="text/javascript" src="/sites/ecm/Resources/jQuery/jquery-1.10.2.min.js"></script> <script language="javascript" type="text/javascript" src="/sites/ecm/Resources/jQuery/jquery.SPServices-2013.02BETA2.js"></script> <script type="text/javascript" language="javascript"> $(document).ready(function() { alert("jQuery"); alert($().SPServices.SPGetCurrentSite()); // Set up the cascade from Region to State $().SPServices.SPCascadeDropdowns({ // listName: "Locations", relationshipList: "States", relationshipListParentColumn: "Region", relationshipListChildColumn: "Title", relationshipListSortColumn: "Title", parentColumn: "Region", childColumn: "State", debug: True }); }); </DIV> Thoughts?

Viewing all articles
Browse latest Browse all 6517

Trending Articles