Detecting IE using jQuery

后端 未结 3 394
深忆病人
深忆病人 2020-12-03 07:31
$(window).load(function () {
   if($.browser.msie && $.browser.version==\"6.0\") {
     // do stuff
   }
});

Just realized that $.browser h

3条回答
  •  青春惊慌失措
    2020-12-03 08:10

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

提交回复
热议问题