Saturday, September 29, 2012

javascript - window.open not working in IE - (RESOLVED)

Browser compatibility is an issue which each and every web-developer has to face. New window popup using javascript is the same kind of issue and javascript fuction window.open() has different functionality in defferent browsers like in firefox and chrome it works and in IE-8 etc sometimes it does'nt work.

I also faced this problem today and did R&D on it, and found a very simple solution to this. here is the solution of this problem.

In IE, you can't have spaces in your second variable (the new window's name).

Try:
 
window.open (address,'Ver_articulo', config=center);
 
Please post your comment and share this with others if you really like this post.