asp-ascii print special character ,
chr(34) = "
Response.Write("<a style='margin-left:5px;' onclick="&chr(34)&"$('#iframe2').prop('src','"&SP&L&"');$('#interDiv').attr('tabindex',-1).focus();"&chr(34)&">"&S)
inf : http://www.w3schools.com/tags/ref_ascii.asp
ASCII Printable Characters
ASCII Character | HTML Entity Code | Description |
---|---|---|
  | space | |
! | ! | exclamation mark |
" | " | quotation mark |
# | # | number sign |
$ | $ | dollar sign |
% | % | percent sign |
& | & | ampersand |
' | ' | apostrophe |
( | ( | left parenthesis |
) | ) | right parenthesis |
* | * | asterisk |
+ | + | plus sign |
, | , | comma |
- | - | hyphen |
. | . | period |
/ | / | slash |
0 | 0 | digit 0 |
1 | 1 | digit 1 |
2 | 2 | digit 2 |
3 | 3 | digit 3 |
4 | 4 | digit 4 |
5 | 5 | digit 5 |
6 | 6 | digit 6 |
7 | 7 | digit 7 |
8 | 8 | digit 8 |
9 | 9 | digit 9 |
: | : | colon |
; | ; | semicolon |
< | < | less-than |
= | = | equals-to |
> | > | greater-than |
? | ? | question mark |
@ | @ | at sign |
沒有留言:
張貼留言