Home > Article > Web Front-end > Example of JQuery escaping special characters in ID_jquery
Sometimes when processing HTML, for the convenience of combining with PHP, the id here in the array a[] will be used, or the id contains other special characters such as /@ etc.
In order to use jquery to obtain the element, it needs to be escaped. Special characters
go directly to the example