Joby
Joby

Reputation: 379

if ($.browser.msie) not working+ie6

I have master in my project.i have added js file in my master page.so that i can able to call the function in my content pages.My problem is when i am using this function ""if(!$.browser.msie){alert("Not ie Browser");}"" not working in ie6.In ie6 it is showing alert("Not ie Browser") all the time when the page load happens?Can i get some reason behind this?

Thank you

Upvotes: 2

Views: 2285

Answers (1)

Adeel
Adeel

Reputation: 19238

Try this.

if($.browser.msie && $.browser.version=="6.0") alert("I am IE6");

Upvotes: 2

Related Questions