Profile
Achievement
accelm's Recent Snippets
- All /
« Prev 1 Next »
This goes through the specified div, and finds a div with the class of current. It then removes the class from that div, and adds it onto the next one. Note: Through CSS make the current class with a display block, and the slide class with a displ...
0
637
posted 12 years ago by accelm
If included in a global javascript, whenever an input receives focus it will clear the default value. If the element loses focus without any user input then it will put the default value back in there. Useful for when you aren't using <label> a...
0
671
posted 13 years ago by accelm