|
I have the casade for 2 dropdowns for a contacts list;
Comany and Site
This is so I can choose the Company and the site for a Contact. 2 lists Companies and CompanySites as well as my contacts list. but all i am getting in the 2nd DDL is "choose site.."
below is the code for my CascadingDropdownsCOMPANY-SITE.js and also the files im using
$(document).ready(function() {
// Set up the cascade from Region to State
$().SPServices.SPCascadeDropdowns({
relationshipList: "CompanySite",
relationshipListParentColumn: "Company",
relationshipListChildColumn: "Title",
relationshipListSortColumn: "Title",
parentColumn: "Company",
childColumn: "Site",
debug: true
});
});
<script language="javascript" type="text/javascript" src="../js/jquery-1.5.min.js"></script>
<script language="javascript" type="text/javascript" src="../js/jquery.SPServices-0.6.0ALPHA9.js"></script>
<script language="javascript" type="text/javascript" src="../js/CascadingDropdownsCOMPANY-SITE.js"></script>
|