[jQuery] Re: Problem fiding a certain text inside a table

2008-03-28 Thread Feed
Thank you for the answer, motob... I don't really know how to use regular expressions but I'm gonna find out right now. On Mar 26, 5:40 pm, motob [EMAIL PROTECTED] wrote: You could try using regular expressions on the text inside of each TD. Something like this:

[jQuery] Re: Problem fiding a certain text inside a table

2008-03-26 Thread motob
You could try using regular expressions on the text inside of each TD. Something like this: $(this).find(td:contains('*')).each(function(){ $(this).text().replace(/\*/g, span class='highlight'*/span); }); The above code is untested and may not work, but you get the picture. On Mar 26, 3:00