nohandlesleft254
IS-IT--Management
Hi,
I'm using the below javascript function to get a pop-up to populate a field on the parent page. The problem is that i cant seem to get the CF variable in the Javascript.
Help...
function updateParent(DoorCode) {
opener.document.form_FindItem.DoorStyle.value = DoorCode
self.close();
return false;
}
onClick="updateParent(<cfoutput>#toScript(DoorRanges.Code, "jsVar")#;</cfoutput>)
I'm using the below javascript function to get a pop-up to populate a field on the parent page. The problem is that i cant seem to get the CF variable in the Javascript.
Help...
function updateParent(DoorCode) {
opener.document.form_FindItem.DoorStyle.value = DoorCode
self.close();
return false;
}
onClick="updateParent(<cfoutput>#toScript(DoorRanges.Code, "jsVar")#;</cfoutput>)