Started

Selectors

Utilities

Animation

AJAX

CSS

Event

Manipulation

Cookie

String

Attributes

Data

Storage

Miscellaneous

$rand

Random a number from range.
$rand( min, max )
  1. min [number]
    The minimum number.
  2. max [number]
    The maximum number.

Notes

Dose god play dice?

Example

HTML code
<button onclick="start_rand()">Get a random number.</button>
JavaScript code
function start_rand()
{
	alert($rand(1, 9999));
}
Demonstration