2013年10月12日 星期六

asp-response.write-special-character asp-ascii



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 CharacterHTML Entity CodeDescription
 &#32;space
!&#33;exclamation mark
"&#34;quotation mark
#&#35;number sign
$&#36;dollar sign
%&#37;percent sign
&&#38;ampersand
'&#39;apostrophe
(&#40;left parenthesis
)&#41;right parenthesis
*&#42;asterisk
+&#43;plus sign
,&#44;comma
-&#45;hyphen
.&#46;period
/&#47;slash
0&#48;digit 0
1&#49;digit 1
2&#50;digit 2
3&#51;digit 3
4&#52;digit 4
5&#53;digit 5
6&#54;digit 6
7&#55;digit 7
8&#56;digit 8
9&#57;digit 9
:&#58;colon
;&#59;semicolon
<&#60;less-than
=&#61;equals-to
>&#62;greater-than
?&#63;question mark
@&#64;at sign

沒有留言:

張貼留言