Home  >  Article  >  Web Front-end  >  Problems with special character processing in jQuery applications_jquery

Problems with special character processing in jQuery applications_jquery

WBOY
WBOYOriginal
2016-05-16 18:05:51882browse

So I checked on GOOGLE and found out that it was because of special characters.

In jQuery's selector, if you want to use special characters, you need to escape them with "\", otherwise you will not be able to find what you want

Official document location: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_by_an_ID_that_has_characters_used_in_CSS_notation.3F

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