I am having a heck of a time getting this to work. I have combed all the discussions on this board and tried various methods to get this to work. My references below appear to be correct and I can navigate to the url without any issues.
The alert for jquery comes back, however the spServices is showing that it is undefined. I also receive the following error which I understand from another discussion on this board is already known.
<script type="text/javascript" src="/_layouts/CK.Central/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/_layouts/CK.Central/js/jquery.SPServices-2013.02a.min.js"></script>
<script type="text/javascript"> $(document).ready(function() { alert("jQuery"); //alert($().SPServices.SPGetCurrentSite()); //return false; $().SPServices.SPCascadeDropdowns({ relationshipWebURL: "/", relationshipList: "Divisions", relationshipListParentColumn: "Department", relationshipListChildColumn: "Title", relationshipListSortColumn: "ID", parentColumn: "Departments", childColumn: "Divisions", debug: true }); $().SPServices.SPCascadeDropdowns({ relationshipWebURL: "/", relationshipList: "Sections", relationshipListParentColumn: "Division", relationshipListChildColumn: "Title", relationshipListSortColumn: "ID", parentColumn: "Divisions", childColumn: "Sections" }); }); </script> I have 3 lists
Department List -> title column holds departments
Division List -> title column holds divisions with departments column lookup to departments
Section List -> title column holds sections with division column lookup to divisions
I have tried to move the files to a document library but that didn't work and I have spent too much time already trying to get this working so I thought I would reach out to see if you had any other suggestions for me to try.
Any help would be appreciated.
The alert for jquery comes back, however the spServices is showing that it is undefined. I also receive the following error which I understand from another discussion on this board is already known.
<script type="text/javascript" src="/_layouts/CK.Central/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/_layouts/CK.Central/js/jquery.SPServices-2013.02a.min.js"></script>
<script type="text/javascript"> $(document).ready(function() { alert("jQuery"); //alert($().SPServices.SPGetCurrentSite()); //return false; $().SPServices.SPCascadeDropdowns({ relationshipWebURL: "/", relationshipList: "Divisions", relationshipListParentColumn: "Department", relationshipListChildColumn: "Title", relationshipListSortColumn: "ID", parentColumn: "Departments", childColumn: "Divisions", debug: true }); $().SPServices.SPCascadeDropdowns({ relationshipWebURL: "/", relationshipList: "Sections", relationshipListParentColumn: "Division", relationshipListChildColumn: "Title", relationshipListSortColumn: "ID", parentColumn: "Divisions", childColumn: "Sections" }); }); </script> I have 3 lists
Department List -> title column holds departments
Division List -> title column holds divisions with departments column lookup to departments
Section List -> title column holds sections with division column lookup to divisions
I have tried to move the files to a document library but that didn't work and I have spent too much time already trying to get this working so I thought I would reach out to see if you had any other suggestions for me to try.
Any help would be appreciated.