RSS Forums RSS
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 599 | Replies: 2 | Thread Tools  Display Modes
Reply
Join Date: Aug 2008
Posts: 12
Reputation: shilpamg is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
shilpamg shilpamg is offline Offline
Newbie Poster

I want to generate random number in JAVASCRIPT?

  #1  
Aug 21st, 2008
Please anybody tell me the code to generate the random number in javascript.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2006
Location: India
Posts: 7,168
Reputation: ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold 
Rep Power: 26
Solved Threads: 395
Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: I want to generate random number in JAVASCRIPT?

  #2  
Aug 22nd, 2008
Using the Math javascript object (esp the random() function) along with this tutorial should get you going.
I don't accept change. I don't deserve to live.

Happiness corrupts people.

Failing to value the lives of others cheapens your own.
Reply With Quote  
Join Date: Feb 2008
Location: Gurgaon India
Posts: 186
Reputation: nikesh.yadav is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 15
nikesh.yadav's Avatar
nikesh.yadav nikesh.yadav is offline Offline
Junior Poster

Re: I want to generate random number in JAVASCRIPT?

  #3  
Aug 23rd, 2008
ya sos,

almost all scripting and programming language have random function
Help as an alias

I think programming is great................
Tour Travel weblink by me,
Go To My Home Page and I m in Webdevelopment.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 7:55 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC