phppup Posted March 21, 2012 Share Posted March 21, 2012 I have the code so that onClick of a submit button, a new window opens with information. Now I want to move to a new window in the SAME browser, what is the code for that, so that it functions as if an <a href> tag were clicked? Link to comment https://forums.phpfreaks.com/topic/259425-open-new-window-in-same-browser/ Share on other sites More sharing options...
mdvignesh Posted March 23, 2012 Share Posted March 23, 2012 U can use window.open() Link to comment https://forums.phpfreaks.com/topic/259425-open-new-window-in-same-browser/#findComment-1330481 Share on other sites More sharing options...
Adam Posted March 23, 2012 Share Posted March 23, 2012 Opening in the same browser window is the default behaviour for a form. Are you meaning tabs? Link to comment https://forums.phpfreaks.com/topic/259425-open-new-window-in-same-browser/#findComment-1330499 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.