Home >Web Front-end >JS Tutorial >Things that need to be modified when upgrading from jQuery1.3.2 to jQuery1.4.4_jquery

Things that need to be modified when upgrading from jQuery1.3.2 to jQuery1.4.4_jquery

WBOY
WBOYOriginal
2016-05-16 18:12:34856browse

Modifications to incompatibilities:
1. jQuery("option[selected=true]",this) changed to

jQuery("option:selected",this)

2 . jQuery("option[text=text]",this) changed to

jQuery("option:contains(text)",this)

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn