Jump to content

form post to popup


jaymc

Recommended Posts

<form action="url" target="winname" onsubmit="window.open('','winname',specs);return true;">

Giving the form the same target name as the window opened in the onsubmit should do it.  A delay of some sort might be necessary before the 'return true' so the new window is initialized and its name is known before the form actually submits.

Link to comment
https://forums.phpfreaks.com/topic/68937-form-post-to-popup/#findComment-349793
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.