function d1(){
var d2=confirm("准备好了,启航吧!");
if(d2==true){
alert("起飞!");
}
else{
alert("爬");
}
}
var d2=confirm("准备好了,启航吧!");
if(d2==true){
alert("起飞!");
}
else{
alert("爬");
}
}
document.write("系好安全带,准备启航--目标JS<br />");
function d1(){
var d2=confirm("准备好了,启航吧!");
if(d2==true){
document.write("起飞!");
}
else{
document.write("爬");
}
}
function d1(){
var d2=confirm("准备好了,启航吧!");
if(d2==true){
document.write("起飞!");
}
else{
document.write("爬");
}
}
这网页编译器有点坑爹啊。我写完就是不能停止,思考半天也没发现错误,最后使用hbuilder把代码复制过去居然能用
2020-06-03