I need to run a search and replace on HTML similar to the following... I need to have \"Find Next\" \"Replace\" and \"Replace All\" options.... the trick is that I need to r
You can select all divs with class item
that are children of the element with ID sheet
like so:
$('#sheet > div.item')
and you can set the text of each div.item
with .text():
$('#sheet > div.item').text(function (i, oldText)
{
return oldText.replace('something', 'somethingElse');
});
Is that what you're looking for?