tengo el siguiente código:Jquery seleccionar todos los elementos que contienen texto en ID
var aggrHTML = $('TBODY#aggr > tr > td > table > tbody > tr > td > nobr > b');
var aggrText = aggrHTML.text();
var newText = "Total" + aggrText.substring(3);
aggrHTML.html(newText);
Lo que me gustaría hacer es alterar lo anterior, así que seleccione todos los elementos cuya identificación contener 'aggr'.
Muchas gracias, Nav
Las identificaciones deben ser únicas. Por favor aclare si se refiere a todos los elementos que * tienen * 'aggr' como ID o que * contienen *' aggr' en el ID. Si tiene más elementos con la misma identificación, está haciendo algo mal. –
tiene ID's como 'aggr1', 'aggr2', etc. y quiere seleccionar todos esos –
@Scott Evernden: Sí, debería haber leído el título;) @nav: Nevermind. –