Click to See Complete Forum and Search --> : submit a child window (popup) from a parent window...


suganya
09-15-2003, 11:59 AM
hi,

i have a parent window and onclick of a button, a child window should pop-up...but i want teh child window to be submitted from the parent window before it pops up!...can i do this?...

thanks...

Jona
09-15-2003, 12:14 PM
Originally posted by suganya
i have a parent window and onclick of a button, a child window should pop-up...but i want teh child window to be submitted from the parent window before it pops up!...can i do this?

I don't get the "but i want teh child window to be submitted from the parent window before it pops up" part... Why not just have a window popup when the next page loads after the form is processed?

[J]ona

AdamGundry
09-15-2003, 02:11 PM
Or why not follow accessibility recommendations/legislation, and not use popups at all? Jona is correct, you can't submit a page without displaying it first, so you might as well submit the main page. Alternately, you could popup a window then call Form.submit() in its onload event handler.

Adam