1.JavaScript可以直接写入HTML输出流中

document.write()

2.JavaScript对时间做出反应

<button type="button" onclick="alert('Welcome!')">点击这里</button>

onclick

alert

 

posted on 2018-08-09 17:38  zuoyou  阅读(133)  评论(0编辑  收藏  举报