antonyjohn Posted September 13, 2007 Share Posted September 13, 2007 I need to display a popup window using ajax.The pop up window page is a php page with php codes including submit buttons.On clicking submit it should perform the submit function just like ordinary php pages.Can anyone give me a solution? Quote Link to comment https://forums.phpfreaks.com/topic/69174-popups-using-ajax/ Share on other sites More sharing options...
marcus Posted September 13, 2007 Share Posted September 13, 2007 Not really a PHP related issue. <form name="open" method="post" action="index.php" onSubmit="window.open('file.php'); return false;"> <input type="submit" name="submit" value="Open file.php"> </form> Quote Link to comment https://forums.phpfreaks.com/topic/69174-popups-using-ajax/#findComment-347661 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.