In one of my forms I want to use both " location.href " and " window.open ".
Something like this :
location.href = "product_list.php";
window.open("product_details.php?id=123";
After using these lines, when the pages get opened, the user should view the page with window.open command.
In moziilla the focus remains on the window.open page, but in IE 6, the control goes back to location.href page after displaying the page with window.open statement.
Can anybody suggest me the solution to handle this situation both in mozilla and IE ?
Looking for the inputs. Thanks in advance.
handling location.href and window.open
Moderator: General Moderators