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. 

No comments:

Post a Comment

Please feel free to post your comments. If anyone has a good article or good thing to share, just send me that with your name to asadmehmoodstar@gmail.com. and if anyone want so receive updates regarding my blog, he can subscribe to my weekly newsletter on "Subscribe to our mailing list" section.

Thanks