When clicking on a link (or buton) in the main page i want to open a popup window and enter some input in a form , and after clicking submit (on the popup ) , close the window and update(refresh) the information displayed in the main page. Its the same as when adding atachments at yahoo. Can somebody help? Thanks
That's a primarily client side issue, try www.javascriptworld.com maybe?
The popup should submit via POST to a PHP script ... that's an issue for this board ...
😉
You'll be working with opener.window.location
Can u tell me more?
you would use it in something like:
<input type=submit onClick="window.opener.location.reload()">
or <form onSubmit="window.opener.location.reload()">
or <body onUnload="window.opener.location.reload()">
rinjani
Thank u, rinjani!It Works.