Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
inreflection7's Recent SnippetsTagged jquery
- All /
« Prev 1 Next »
Extend jQuery :selector types
Ex: $("input:text")
$("input:email")
1
632
posted 12 years ago by inreflection7
image rollovers in jquery are usually super easy. However it sucks when working with absolute image paths - like a separate media server or CDN. Heres a quick snippet using substring and lastIndexOf to swap out the image src.
0
746
posted 12 years ago by inreflection7