Please anybody tell me the code to generate the random number in javascript.

Recommended Answers

All 2 Replies

Using the Math javascript object (esp the random() function) along with this tutorial should get you going.

ya sos,

almost all scripting and programming language have random function

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.