« Return to the main article
this function works great...my question is: how would you pass text to the parent doc, instead of the dialog list selections? if selObj2 is text?
function sendAndClose( selObj1, selObj2) { window.dialogArguments.myColour1 = selObj1.options[selObj1.value].text
window.dialogArguments.myColour = selObj2???
this function works great...my question is: how would you pass text to the parent doc, instead of the dialog list selections? if selObj2 is text?
function sendAndClose( selObj1, selObj2) { window.dialogArguments.myColour1 = selObj1.options[selObj1.value].text
window.dialogArguments.myColour = selObj2???