-1

出力が欲しい:

<input type="text" onclick="alert('\"')" />

しかし、これは機能しません:

Response.Write("<input type=""text"" onclick=""alert('\""')"" />")

それは私に与えます

<input type="text" ')"="" onclick="alert('\">
4

1 に答える 1

-1

これにより、必要なものが出力されます。

Response.Write("<input type=""text"" onclick=""alert('\x22')"" />")
于 2011-07-30T07:25:55.043 に答える