Using the Alpha (jquery.SPService-2013.01APLH2) code with SharePoint 2013 I have found several problems
FIrst threw a bunch of errors with use Strict -- removed use Strict and single select Cascade Dropdowns work but Multi-Select Dropdowns do not work -- throws the following error on Line 1466 master=
SCRIPT5007: Unable to get property 'replace' of undefined or null reference
// Find the important bits of the multi-select
if(childSelect.Type === "M") {
MultiLookupPickerdata = childSelect.Obj.closest("span").find("input[name$='MultiLookupPicker$data']");
master = window[childSelect.Obj.closest("tr").find("button[id$='AddButton']").attr("id").replace(/AddButton/,'MultiLookupPicker_m')];
currentSelection = childSelect.Obj.closest("span").find("select[ID$='SelectResult']");
}
with Use Strict I get the following errrors
SCRIPT5042: Variable undefined in strict mode
jquery.SPServices-2013.01ALPHA2.js, line 1361 character 7
childColumnStatic = $(this).attr("StaticName");
and even simple CascadeDropdowns do not work.
Comments: Thanks, Earl. I think I may have taken care of that in 2013.01ALPHA3. When I post it, I'd appreciate it if you could let me know if it fixes your issue. M.
FIrst threw a bunch of errors with use Strict -- removed use Strict and single select Cascade Dropdowns work but Multi-Select Dropdowns do not work -- throws the following error on Line 1466 master=
SCRIPT5007: Unable to get property 'replace' of undefined or null reference
// Find the important bits of the multi-select
if(childSelect.Type === "M") {
MultiLookupPickerdata = childSelect.Obj.closest("span").find("input[name$='MultiLookupPicker$data']");
master = window[childSelect.Obj.closest("tr").find("button[id$='AddButton']").attr("id").replace(/AddButton/,'MultiLookupPicker_m')];
currentSelection = childSelect.Obj.closest("span").find("select[ID$='SelectResult']");
}
with Use Strict I get the following errrors
SCRIPT5042: Variable undefined in strict mode
jquery.SPServices-2013.01ALPHA2.js, line 1361 character 7
childColumnStatic = $(this).attr("StaticName");
and even simple CascadeDropdowns do not work.
Comments: Thanks, Earl. I think I may have taken care of that in 2013.01ALPHA3. When I post it, I'd appreciate it if you could let me know if it fixes your issue. M.