求“点击一个按钮,随机打开0-10html中一个网页,要新窗口打开”代码

2025-03-26 14:57:51
推荐回答(1个)
回答1:

var i=(Math.random()+" ").charAt(2);
window.open(url[i]);