javascript - Select element by tag/classname length -
i'd select element using javascript/jquery in tampermonkey.
the class name , tag of elements changing each time page loads. i'd have use form of regex, cant figure out how it.
this how html looks like:
<ivodo class="ivodo" ... </ivodo> <ivodo class="ivodo" ... </ivodo> <ivodo class="ivodo" ... </ivodo>
- the tag same classname.
- it's 4/5 letter random "code"
i'm guessing this: $('[/^[a-z]{4,5}/}')
could please me right regexp?
the simplest way select dynamic elements based on fixed parent, example:
$('#parent > *').each(function() { // logic here... })
Comments
Post a Comment