Giarc86
Expert Member
- Joined
- May 28, 2008
- Messages
- 1,243
- Reaction score
- 4
I have a simple javascript that displays l0tto numbers, but at the moment it just displays
one number eg. 36
how do i get it to display all 6 (or 7) in one line
eg. 45, 23, 14, 18, 37, 22
Code:
<script language="javascript">
function randnums(){
//create a random integer between 0 and 5
var randoml0tto=Math.round(Math.random()*50)
document.images["myl0tto"].src=eval("face"+randoml0tto+".src")
}
Thanks
** lol please don't type lott0 in your replys the proxy here filters the page if it finds it.. Use a 0 lol thanks
one number eg. 36
how do i get it to display all 6 (or 7) in one line
eg. 45, 23, 14, 18, 37, 22
Code:
<script language="javascript">
function randnums(){
//create a random integer between 0 and 5
var randoml0tto=Math.round(Math.random()*50)
document.images["myl0tto"].src=eval("face"+randoml0tto+".src")
}
Thanks
** lol please don't type lott0 in your replys the proxy here filters the page if it finds it.. Use a 0 lol thanks