編程題目,彈窗的那個。
我想要點擊取消后,直接關(guān)閉網(wǎng)頁窗口,怎么弄。?
function openwindow()
{var confi=confirm("是否打開");
if(confi==true)
{var URL=prompt("請輸入網(wǎng)址","http://skin.se.#/");};
if(confi!=null)
{window.open("http://skin.se.#/","_blank","width=800,height=200");}
};
2022-03-26
正確,加油,希望課程對你有幫助??梢詫W(xué)習(xí)JS進(jìn)階篇課程。正則表達(dá)式的匹配不是唯一的,參考答案匹配的范圍比較寬泛,你的匹配的程度相對來說更高一些
2016-05-16
沒事了,搞錯了