Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submit Parent Form using Javascript

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Hi Gurus,

Does javascript have the ability to submit a parent form from a client window. Whenever I try something like

parent.document.forms[0].submit()
or
parent.document.<formname>.submit()
or
parent.document.doSubmit()
or
parent.doSubmit()

where doSubmit() is a javascript function that tries to submit the form on the same page.

I imagine I'm not able to perform this operation due to some security restriction.. Any help on this matter would be appreciated..

Silent P.
 
Not sure what the problem is, but make sure you are looking for parent, and not opener:

opener.formname.submit() jared@eae.net -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top