hi all, In my site i'm having some buttons for linking. <a href> tag works fine in firefox but in ie its not working. so i used window.open for linking. but the problem here is the link is opened in seperate window in ie and in firefox its opened in seperate tab i want that to open in same window and in same tab.... Can any one help me... Thanks in advance....
It isn't problem of your code. If new page will be open in tab or window depends on browser settings.
What were you using for the button? Try window.location.href = 'http://example.com'; The window open function is normally used to create new windows, but this will make it open the link in the same window: window.open('http://example.com', '_self');