Open a new page on click of a link on new window

Posted by Pankaj Khurana on Stack Overflow See other posts from Stack Overflow or by Pankaj Khurana
Published on 2010-04-12T08:42:36Z Indexed on 2010/04/12 8:43 UTC
Read the original article Hit count: 393

Filed under:

Hi,

I have a page in which i have provided a link clicking on which should redirect to a new page on the new window.

My code is

<a href="javascript:void(0);" class="webMnu" onclick="window.open('http://proschoolonline.com/payments','plain');">Enroll</a>

The problem is that it is working fine in firefox(opens in a new tab) but in internet explorer its opening in a popup (not in a new tab).

How can i open this new page in new tab?

Please help me on this.

Thanks

Pankaj

© Stack Overflow or respective owner

Related posts about JavaScript