<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\")
8.7w+
社区成员
22.4w+
社区内容