hi
I hv compatibility problem with my website so i am using a label which can display the solution.since Problem is occuring with Internat Exploere
so I want if user use IE Browser then that Lable should display otherwise it should not display. i am using this code but it is not working.
<script type="text/javascript">
var browserName=navigator.appName;
if (browserName=="Netscape")
{
document.getElementById("<%=Label19.ClientID%>").style.display ='none';
alert("Hi Netscape User!");
}
else
{
if (browserName=="Microsoft Internet Explorer")
{
alert("Hi, Explorer User!");
}
Please tell me where is problem..???
Thanks and Regards
Arti Singh
else
{
alert("What ARE you browsing with here?");
}
}
</script>