摘要: <script> window.onload = function(){ var oBtn = document.getElementById( "btn" ); oBtn.onclick = function(){ var msg = prompt("请输入账号") + prompt("请输入座右 阅读全文
posted @ 2017-04-02 10:35 曦言鸢默 阅读(469) 评论(0) 推荐(0) 编辑
摘要: <script> function del(){ var flag = confirm("你真要删除么?"); if( flag ){ alert("我已被你抛弃了。") }else{ alert("真好,我又可以继续陪着你。") } }</script> <body><input type="bu 阅读全文
posted @ 2017-04-02 10:03 曦言鸢默 阅读(171) 评论(0) 推荐(0) 编辑