Reputation:
I used a function in filter to check whether the display mode is block but it's not working.
Here's my code:
$("#wrap_element").find("*").filter(function(){
return this.css("display")==="block";
}).css("background-color","red");
Thanks.
Upvotes: 1
Views: 77