jquery - Find html element add id to parent -
i'm having issue here, have piece of code works great.
$('td img[src="/images/nav/prev_dim.gif"]').parent().closest("table").attr('class','robsid');
does want do. path of image changes after.gif here,
/images/nav/prev.gif?v=2015.2.0
how ignore ?v= , focus on finding image name when changes example pagination. ignore after.gif
$('td img[src^="/images/nav/prev.gif"]')
Comments
Post a Comment