Hello all,
Been following the posts, and I have been able to resolve most of my problems.
when it comes to the change event (simpleChild) I able to get it to fire however,
I can't retrieve the new value i get a "Undefined" value return? Here’s what I have so far:
$(document).ready(function() {
$().SPServices.SPCascadeDropdowns({
relationshipList: "PPT_EST_PrinterList",
relationshipListParentColumn: "Sites",
relationshipListChildColumn: "Device",
parentColumn: "Sites",
childColumn: "Printers"
});
$().SPServices.SPCascadeDropdowns({
relationshipList: "PPT_EST_PrinterParts",
relationshipListParentColumn: "Printers",
relationshipListChildColumn: "Parts",
parentColumn: "Printers",
childColumn: "Parts",
simpleChild: true
});
</script>
Been following the posts, and I have been able to resolve most of my problems.
when it comes to the change event (simpleChild) I able to get it to fire however,
I can't retrieve the new value i get a "Undefined" value return? Here’s what I have so far:
$(document).ready(function() {
$().SPServices.SPCascadeDropdowns({
relationshipList: "PPT_EST_PrinterList",
relationshipListParentColumn: "Sites",
relationshipListChildColumn: "Device",
parentColumn: "Sites",
childColumn: "Printers"
});
$().SPServices.SPCascadeDropdowns({
relationshipList: "PPT_EST_PrinterParts",
relationshipListParentColumn: "Printers",
relationshipListChildColumn: "Parts",
parentColumn: "Printers",
childColumn: "Parts",
simpleChild: true
});
$("[title='Parts']").change(function(ev){
alert( $("input[id='" + $(this).attr("optHid") + "']").val() );
});
});</script>