Aaron Heimlich wrote:
Attribute selectors always begin with @[1] and I added quotes around
"images/m" just for safety, as jQuery sometimes has issues when you
don't use them.
I always forget the damn "@"! I don't think the quotes are necessary,
but they can't hurt, although allowing them hurts my head when I start
to try to figure out how to select an attribute with a substring that
contains a quotation mark!
Thanks. I hope the OP sees your response before getting frustrated with
mine.
-- Scott
- [jQuery] Re: JQUERY SELECTOR based on image path Scott Sauyet
-