Pick a random element with jQuery


/ Published in: jQuery
Save to your folder(s)

A simple way of displaying a random list item. Could be used to randomly display anything.

Demo: jsfiddle.net/uRd6N/ (keep clicking run)

URL: http://forrst.com/posts/Pick_a_random_element_with_jQuery-0hS

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.