0

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";

2
Contributors
1
Reply
20
Views
4 Years
Discussion Span
Last Post by jalarie
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.