jQuery Shuffle Plugin

Summary

A jQuery plugin for shuffling a set of elements.

Author

Chad Smith (email)

Requires

Download

jquery-shuffle.js (713 bytes)

License

Dual licensed under the MIT and GPL licenses.

Usage

To shuffle a set of elements use:

$(selector).shuffle();

or

$.shuffle(selector);

Version History

Support

Examples

$('ol li').shuffle()

  1. A
  2. B
  3. C
  4. D
  5. E

$('img').shuffle()



$('div').shuffle()

© 2009 Mktg Dept