17
rated 0 times
[
19]
[
2]
/ answers: 1 / hits: 86339
/ 15 Years ago, mon, august 3, 2009, 12:00:00
How can I select all elements that have a specific CSS property applied, using jQuery? For example:
.Title
{
color:red;
rounded:true;
}
.Caption
{
color:black;
rounded:true;
}
How to select by property named rounded?
CSS class name is very flexible.
$(.Title).corner();
$(.Caption).corner();
How to replace this two operation to one operation. Maybe something like this:
$(.*->rounded).corner();
Is there any better way to do this?
More From » jquery