Home > Web Front-end > JS Tutorial > javascript special string_javascript skills

javascript special string_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 18:55:40
Original
1037 people have browsed it

For example:

";

There will be an error here. You must escapeHTML.

For:

Anyway, escapeJavascript filters it out. Single quotes. If there may be a <script> <BR>var t="</script> tag in the memo, escapeHTML is required, otherwise it is not needed. Of course, using tb-velocity does not require calling escapeHTML yourself.

Related labels:
Statement of this Website
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
Latest Issues
What are JavaScript hook functions?
From 1970-01-01 08:00:00
0
0
0
What is JavaScript garbage collection?
From 1970-01-01 08:00:00
0
0
0
c++ calls javascript
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template