Jquery.not (": contains ('<< any number >>')")
What is the best way to select an element that does not contain a number?
eg,
$('div').not(":contains('1')").not(":contains('2')").not(":contains('3')")...; Sorry, I didn’t formulate my example correctly.
I have already collected about 20 sections, and you then need to filter out those that do not contain numbers in order to pass them to the function.
I tried gettin your example work like
if($(this:+'regex(html, #^0-9]')).length <1 { but no luck
+6
2 answers