时间:2021-07-01 10:21:17 帮助过:6人阅读
function randopen()
{
var len = $(“#urllist option”).length;
var num = 10;
for(i=1; i<=num; i++)
{
randnum = Math.random()*len;
zn = Math.round(randnum);
u = $(“#”+zn).val();
window.open(u,”urlfrm”+i);
}
}
记录一下,仅供各位参考。