Page 1 of 1

JS page to control main

Posted: Mon Apr 12, 2004 2:36 pm
by Steveo31
I would like JS to popup a window to enable the user to add a comment to a news page I have.

Would it be possible to, when the form on the popup page is submitted, to have the main page (where it was popped up from) to refresh and retrieve the data the form submitted?

The only place I can think of is http://www.were-here.com/forum/default. ... =473418559 that has a login feature like what I am talking about.

Thanks.

Posted: Mon Apr 12, 2004 2:48 pm
by Unipus
onsubmit='window.parent.refresh()'

I think. Been a long time since I've done that.

Posted: Mon Apr 12, 2004 11:24 pm
by Steveo31
Ah nice. Thanks!