jaymc Posted September 12, 2007 Share Posted September 12, 2007 How can you submit a form and have it loaded into a popup that is generated when submitting Normally in the form you would specify target=BLANK How can you have the form loaded into a new popup Quote Link to comment Share on other sites More sharing options...
mainewoods Posted September 16, 2007 Share Posted September 16, 2007 <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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.