How to select all images inside any element whose class starts with "pajina" in jQuery?
I need to sele开发者_运维技巧ct like this
var imgs = $('.pajina* img');
Then I will do something else with the images variable later on....mas tarde
$('[class*=" pajina"],[class^="pajina"]').find('img')
will select any elements starting with "pajina", or any elements with " pajina" in the class name, which happens with multiple class names.
Try this:
var imgs = $('[class*="pajina"] img');
精彩评论