How check javascript not to open the same window with window.open function

Posted by Dmitriy on Stack Overflow See other posts from Stack Overflow or by Dmitriy
Published on 2010-04-23T20:38:09Z Indexed on 2010/04/23 20:43 UTC
Read the original article Hit count: 238

Filed under:

Hello! In my javascript i want to open URL in new window with this method:

var win = window.open(url...);

How can i check this, not to open the same window and lose all inputted data. For example, if i opened "www.musite.com/addproduct" URL in new window, input data, leave my work place. then i click open window again, new window open and i lost all my data.

© Stack Overflow or respective owner

Related posts about JavaScript