confused and dazed Posted April 17, 2012 Share Posted April 17, 2012 Hello internet.I am using the command window.navigate() during an onclick event and it is not working for all the major browsers. Specifically I am trying to error proof firefox, IE, and safari. IE is the only browser it is working with. What command can I use to replace window.navigate() that will open a new window in the same browser without opening a completely new window. Link to comment Share on other sites More sharing options...
oldinfo Posted April 17, 2012 Share Posted April 17, 2012 do not know how it works in all bowsers , but I think you mean in this: open a new window in the same browser without opening a completely new window. you mean a new tab in the same window Link to comment Share on other sites More sharing options...
confused and dazed Posted April 17, 2012 Author Share Posted April 17, 2012 Yes... sort of. WRT - window.navigate()In firefox it opens a new tab - dont want thatIn Safari it does not work all together - no page is loadedin IE it refreshes the current screen with the new url - this is what I am looking for I want all three to refresh the current screen with the new url Link to comment Share on other sites More sharing options...
confused and dazed Posted April 18, 2012 Author Share Posted April 18, 2012 O.K. so I was told to try location.assign() and it did work for all browsers. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.