function openWindow() {
var message = confirm('shuru');
if(message === true) {
var op = window.open('http://idcbgp.cn/','_blank','width=400,height=500')
}
}
var message = confirm('shuru');
if(message === true) {
var op = window.open('http://idcbgp.cn/','_blank','width=400,height=500')
}
}
2021-03-11
最新回答 / 慕仔4506488
?}? ? else if(score>=0 && score != null && score != "")?{? ? ? ?document.write("要努力了!");}建議對空數(shù)據(jù)做處理,避免和0分混在一個分支里面;
2021-03-02
最新回答 / Kabuto7781461
你本來有一個騰訊網(wǎng)吧,然后執(zhí)行代碼又彈出一個,不然怎么會彈出兩個?
已采納回答 / 慕妹7343412
score>=60 ? document.write("很棒,成績及格了。") : score<60 ??document.write("加油,成績不及格。"):?document.write("成績錯誤!");
2021-01-28
function openWindow()
{
var conf = confirm("Do you sure open the new windows?");
if (conf)
{
var newwin = prompt("Please Input Url","http://idcbgp.cn/");
var mywin = window.open(newwin);
}
else
{
alert("Follow your order!");
}
}
{
var conf = confirm("Do you sure open the new windows?");
if (conf)
{
var newwin = prompt("Please Input Url","http://idcbgp.cn/");
var mywin = window.open(newwin);
}
else
{
alert("Follow your order!");
}
}
2021-01-22
<script type="text/javascript">
function Wopen(){
window.open('http://idcbgp.cn','_blank','width=600,height=400,top=100,left=0')
}
</script>
function Wopen(){
window.open('http://idcbgp.cn','_blank','width=600,height=400,top=100,left=0')
}
</script>
2021-01-21
document.write("hello");
document.getElementById("p1").style.color="blue";
document.getElementById("p1").style.color="blue";
2021-01-21