Olivier wrote: > How to find the elements with the id beginning by "myID_" and > terminated with any number > like "myID_25789". > Try this:
$('*[id^="myID_"]').filter(function(){ return (/\_[0-9]+$/).test($(this).attr('id')); });
Olivier wrote: > How to find the elements with the id beginning by "myID_" and > terminated with any number > like "myID_25789". > Try this:
$('*[id^="myID_"]').filter(function(){ return (/\_[0-9]+$/).test($(this).attr('id')); });