Apply CSS based on text length of <a href="">
Posted
by danit
on Stack Overflow
See other posts from Stack Overflow
or by danit
Published on 2010-06-11T14:10:56Z
Indexed on
2010/06/11
14:12 UTC
Read the original article
Hit count: 204
jQuery
If a href is longer than 40 chars I want apply a class to the previous LI element.
How can I do this in jQeury?
© Stack Overflow or respective owner