Home  >  Article  >  Web Front-end  >  Syntax issues with selectors after Jquery upgrades to new version_jquery

Syntax issues with selectors after Jquery upgrades to new version_jquery

WBOY
WBOYOriginal
2016-05-16 18:25:48870browse

After checking the TomBox.js code used in it, I couldn’t figure out the reason

Later, the manager reminded me that it may be a selector syntax problem after the Juqery upgrade

The problem may be in chapter 73 Line


Copy code The code is as follows:

TB_TempArray = $(" @a[@rel=" imageGroup "]").get(); Later I checked on the Internet


and changed the code to

Copy code The code is as follows:

TB_TempArray = $("a[@rel=" imageGroup "]").get() ;


It will be normal after removing the "@" symbol.
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