摘要: JavaScript:写入 HTML 输出 document.write("<h1> This is a heading</h1>"); document.write("<p>呵呵</p>"); JavaScript:对事件作出反应 <button type="button" onclick="al 阅读全文
posted @ 2016-10-25 10:19 yycodelover 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 当点击按钮时执行一段 JavaScript: 阅读全文
posted @ 2016-10-25 08:51 yycodelover 阅读(109) 评论(0) 推荐(0) 编辑