Profile
Achievement

i-am-andy's Recent jQuery Snippets
- 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
2372
posted 12 years ago by i-am-andy
Add a class to every 4th item using jQuery nth-child and add class
0
1009
posted 13 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
1154
posted 13 years ago by i-am-andy