0
votes

Javascript: How to Create a Random Number

posted February 23, 2008 - 11:45pm
Javascript: How to Create a Random Number

It'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...

A Xomba Account Lets You:

Read - Expand your mind. Write - Share your ideas Get Paid - Expand your pocketbook Get Started Today!


Comments

Post new comment

  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text. URLs will automatically be converted to links.
  • Allowed HTML tags: <p> <br> <b> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <span> <object> <param> <embed> <table> <tr> <td> <div>
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

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