views:

110

answers:

2
$(window).load(function () {
   if($.browser.msie && $.browser.version=="6.0") {
     // do stuff
   }
});

Just realized that $.browser has been depreciated in 1.3. What is the new method for detecting IE, specially IE6.

+4  A: 

As reported in jQuery documentation:

  • $.support.boxmodel is false in IE 6, and 7.
  • $.support.cssFloat is false in IE.
kiamlaluno
+2  A: 

hot from the documentation: We recommend against using this property, please try to use feature detection instead (see jQuery.support).

just somebody