jQuery version 1.9 removes $.browser solution
Jul 08, 2017 am 10:15 AMjQuery Starting from version 1.9, $.browser and $.browser.version have been removed and replaced by $.support . In version 2.0 of Update, IE 6/7/8 will no longer be supported. In the future, if users need to support IE 6/7/8, they will only be able to use jQuery 1.9. If you want to fully support IE and use a mix of jQuery 1.9 and 2.0, the official solution is:
1 |
|
1 |
|
expression after the equal sign returns true/false, which can be directly used to replace the original $.browser.msie etc.
Check if it is IE6:1 |
|
1 |
|
-
##JQUERY 1.8 – $.BROWSER HAS BEEN DEPRECATED
Detecting IE6 using jQuery.support
The above is the detailed content of jQuery version 1.9 removes $.browser solution. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Detailed explanation of jQuery reference methods: Quick start guide

How to use PUT request method in jQuery?

How to remove the height attribute of an element with jQuery?

jQuery Tips: Quickly modify the text of all a tags on the page

Use jQuery to modify the text content of all a tags

In-depth analysis: jQuery's advantages and disadvantages

Understand the role and application scenarios of eq in jQuery

How to tell if a jQuery element has a specific attribute?
