I am not the greatest on javascript and was hoping someone could give me some help. I am trying to pass to the parent form action field from the child. The line I have in the child now which is not working is:
window.parent.document.forms['stopForm'].action = "command_stop_15264.cgi";

I've tried a few variations, but neither worked.
window.parent.document.forms['stopForm'].form.action = "command_stop_15264.cgi"; window.parent.document.forms['stopForm'].form.action.value = "command_stop_15264.cgi";

window.opener.document.forms['stopForm'].action

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.