SnaD Posted June 30, 2006 Share Posted June 30, 2006 Is there a way to open a new window without using JS? Quote Link to comment https://forums.phpfreaks.com/topic/13300-new-window-using-php/ Share on other sites More sharing options...
neugi Posted June 30, 2006 Share Posted June 30, 2006 you can use standart html ;)<a href="URL" target="_blank">name</a>target="_blank" will open the site in a new windowbest Quote Link to comment https://forums.phpfreaks.com/topic/13300-new-window-using-php/#findComment-51237 Share on other sites More sharing options...
SnaD Posted June 30, 2006 Author Share Posted June 30, 2006 I know that, but it wont work for me. I need a new window to be opened after I submit my form. Quote Link to comment https://forums.phpfreaks.com/topic/13300-new-window-using-php/#findComment-51254 Share on other sites More sharing options...
xyn Posted June 30, 2006 Share Posted June 30, 2006 Should have made it a bit clearer at the beginning...The only way i'd say you can do it is with Javascript, make it pop-up when you click the button. Quote Link to comment https://forums.phpfreaks.com/topic/13300-new-window-using-php/#findComment-51258 Share on other sites More sharing options...
SnaD Posted June 30, 2006 Author Share Posted June 30, 2006 Thought about it, it doesn't work if user has pop-blocker on :( Quote Link to comment https://forums.phpfreaks.com/topic/13300-new-window-using-php/#findComment-51260 Share on other sites More sharing options...
neugi Posted June 30, 2006 Share Posted June 30, 2006 [quote]<form name="form1" method="post" action="" target="_blank"></form>[/quote]if you you this form tag it will open a new window and send the data to this window. maybe this helpsbest Quote Link to comment https://forums.phpfreaks.com/topic/13300-new-window-using-php/#findComment-51261 Share on other sites More sharing options...
SnaD Posted June 30, 2006 Author Share Posted June 30, 2006 Oh yeah, thanks a lot! Quote Link to comment https://forums.phpfreaks.com/topic/13300-new-window-using-php/#findComment-51263 Share on other sites More sharing options...
neugi Posted June 30, 2006 Share Posted June 30, 2006 thats not php ;)standart html ;)best Quote Link to comment https://forums.phpfreaks.com/topic/13300-new-window-using-php/#findComment-51272 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.