Home > Linux > Programming > Javascript >
How about this?
Setting a value using window.opener.form.field.value in FireFox [Link] view:530
function formOkToSubmit() {
var memberlist = '';
for (i=0; i<document.frmemaildistribution.members.
if (document.frmemaildistribution.members[i
memberlist = memberlist + document.frmemaildistribution.members[i]
}
}
opener.document.frmemail.memberlist.valu
document.frmemaildistribution.doing.valu
window.close();
}
If that works, the rationale for it working is that IE uses a bit of hack, letting you reference forms directly by their name. Firefox doesn't have that hack/shortcut, so you have to remember to use document in front of the form names. Hope that helps.
opener property
Javascript plug in for the Pocket IE
javascript MD5
Created by Jae-Yeol Hwang
Last modified : 12:03 pm, 23 Mar 2007