window.open()


A few days back, I was trying to open a popup window with javascript:window.open() method

And for that my syntex was something like

window.open(‘url to open’,’window name’,’attribute1,attribute2′);

That was working with firefox, but in IE the popup was not be able to open. I tried a lot by googling, by changing the syntex but all in vain.

Than I found somewhere there was a very small mistake in my syntex you would not believe.

the window name I provided was ‘window name’

but its should be without any spaces something like this “window_name

otherwise it will not work in IE.

cheers!

Advertisements