最新回答 / weixin_慕丝0168358
<!DOCTYPE html><html> <head> <title> new document </title> <meta http-equiv="Content-Type" content="text/html; charset=gbk"/> <script type="text/javascript"> function openWindow(){var open=confirm("确认新建窗...
2019-02-03
最新回答 / 努力
function qxsz(){ var mychar=confirm("是否取消设置?") if(mychar==true){ mychar.removeAttribute("style"); } else {alert("输入错误")}}这错了,这里的函数只是这个确认框的函数而不是你要改变的函数
2019-01-31
最新回答 / 小杰0020
function openWindow(){var reply =confirm("是否打开");if(reply==true){var url = prompt("输入要打开的网站","http://www.imooc.com/");if(url=="http://www.imooc.com/"){window.open(url,'_blank','width=400,height=500,menubar=no,toolbar=no');}else if(url == "" || url == null...
2019-01-30