Profile
Achievement
i-am-andy's Recent jQuery SnippetsTagged jquery
- All /
« Prev 1 Next »
A simple way of displaying a random list item. Could be used to randomly display anything.
Demo: jsfiddle.net/uRd6N/ (keep clicking run)
0
1646
posted 10 years ago by i-am-andy
Add a class to every 4th item using jQuery nth-child and add class
0
614
posted 12 years ago by i-am-andy
Useful jQuery for mutliple items on a page that are using the same jquery function and classes to perform an action. By traversing the dom like this the function will only be applied to the item you are clicking on and not all elements on the page th...
0
672
posted 12 years ago by i-am-andy