Detect Internet Explorer 6 or below in jQuery

As simple as this:

if($.browser.msie && $.browser.version=="6.0") alert("Im the annoying IE6");

Update

Please note that $.browser is removed from jQuery 1.9

If you still need to use $.browser in jQuery 1.9 (or other deprecated functions), try jQuery-migrate (https://github.com/jquery/jquery-migrate/ – http://code.jquery.com/jquery-migrate-1.2.1.js)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)