两种写法有区别吗?第一种可以用,第二种却不行?
<input type="button" value="Start" onclick="setTimeout(startCount,1000)" /> <input type="button" value="Start" onclick="setTimeout("startCount()",1000)" />
<input type="button" value="Start" onclick="setTimeout(startCount,1000)" /> <input type="button" value="Start" onclick="setTimeout("startCount()",1000)" />
2016-05-23
举报