how to check internetexplorer version 8 popup block is enabled or not?

Posted by Hariinakoti under JavaScript on 9/20/2012 | Points: 10 | Views : 1813 | Status : [Member] | Replies : 0
Hi Friends,
In my webpage how to check internet explorer version 8 popup block is enabled or not using javascript?Please don't post url.
I wrote this code but it is always one result only.please check and reply me.
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript" language="javascript">
winHandle=window.open("","","")
if(winHandle==null){
alert("Error: While Launching New Window...nYour browser maybe blocking up Popup windows. nn Please check your Popup Blocker Settings");
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>

This code is working in IE9 and Mozilla,chrome etc.But it is not working in IE previous versions.If anybody know plz reply me.

Please reply asap.......

Thanks & Regards
Hari



Responses

(No response found.)

Login to post response