Javascript: How to Create a Random Number
posted February 23, 2008 - 11:45pmIt's simple enough to create a random number in PHP - use the rand() function.
Creating a random number in Javascript is a bit more difficult, though, and this beginner's tutorial to Javascript walks you through the process. If you don't come from a C/C++ background this is a must-read. It's one of several Javascript Tutorials on the site, and it would also come in hand for Game Design.
Website: http://www.earn-web-cash.com/2008/02/23/random-num...
Join Xomba Today
Do you like to write? Would you like to make a little extra money on the side? These people do. Join the Xomba community today.
Become a Member

Comments
Post new comment