javascript - More than one pop up is not coming in IE -


i have following html

<form action="http://www.test.com" method="post" name="form_test"    target="" >     <input type="image" src="loader.gif"  id="icon" alt="image" onclick="popup();"/> </form>  <div id="ij"> ghgfhg </div>  <script type="text/javascript"> function popup(){     window.open ("http://www.google.com","one");     window.open ("http://www.yahoo.com","two"); } </script> 

and when click image button 2 pop ups, 1 google , 1 yahoo in every browser except ie.

in ie, 1 popup 'google', coming.

and if allow popup blocker settings in ie brower site, page located, 2 popups.

so let me know reason in ie.

the popup blocker blocks every popup except first.

http://www.microsoft.com/austria/windowsxp/sp2/sp2_popupblocker.mspx

explains in last paragraph parts of how determines whether block.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -