/ Published in: JavaScript
Expand |
Embed | Plain Text
var totalItems= 10; function randomlink(){ return Math.floor(Math.random()*totalItems+1);//return a number between 1 - 10 }
You need to login to post a comment.
var totalItems= 10; function randomlink(){ return Math.floor(Math.random()*totalItems+1);//return a number between 1 - 10 }
You need to login to post a comment.