<input type="button" onclick="setTimeout('alert(\"123\");',100)" /> 这样也是报错
<input type="button" onclick="setTimeout('alert(\'123\')',1000)" />
<input type="button" onclick="setTimeout('alert(\'123\')',100)" />
转义 alert(\"123\")
87,907
社区成员
224,614
社区内容
加载中
试试用AI创作助手写篇文章吧