<% For i=1 To 100 If i Mod 3=0 or i Mod 5=0 Then b=" " response.write b&(i) End if next %>
我想把这个运算结果以每行显示10个的形式排列,该怎么做??
<script language="vbscript">j=1for i=1 to 100 a=i mod 3 b=i mod 5 if a=0 or b=0 then if j>10 then document.write ("<BR>") j=1 else document.write (i& "&nbsp;") j=j+1 end if end ifnext</script>