Select all elements that have a specific CSS, using jQuery

This is a two year old thread, but it was still useful to me so it could be useful to others, perhaps. Here’s what I ended up doing:

var x = $('.myselector').filter(function () { 
    return this.style.some_prop == 'whatever' 
});

not as succinct as I would like, but I have never needed something like this except now, and it’s not very efficient for general use anyway, as I see it.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)