JQuery: get all children whose id contains part of the string
3 answers
Use jquery contains selector
:
$("#parent").find("a[id*='i']").each(function(){ //do something here });
+13
Use jquery contains selector
:
$("#parent").find("a[id*='i']").each(function(){ //do something here });