943,892 Members | Top Members by Rank

Ad:
Aug 21st, 2008
0

I want to generate random number in JAVASCRIPT?

Expand Post »
Please anybody tell me the code to generate the random number in javascript.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shilpamg is offline Offline
12 posts
since Aug 2008
Aug 22nd, 2008
0

Re: I want to generate random number in JAVASCRIPT?

Using the Math javascript object (esp the random() function) along with this tutorial should get you going.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,871 posts
since Jun 2006
Aug 23rd, 2008
0

Re: I want to generate random number in JAVASCRIPT?

ya sos,

almost all scripting and programming language have random function
Reputation Points: 15
Solved Threads: 21
Posting Whiz in Training
nikesh.yadav is offline Offline
219 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: scrolling or dragging an element
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: conflicting Javascripts?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC