Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


select all elements that have a specific css using jquery


select all elements that have a specific css using jquery  using -'javascript,jquery,css,jquery-selectors'

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?
    

asked Sep 14, 2015 by RosLofton
0 votes
64 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...