Re: [jQuery] Bolding a certain word - string manipulation?

2009-11-22 Thread Rua
$('.tpSurveyQuestion').each( function() { > var $question = $(this); > $question.html( > $question.html().replace( 'anything', 'anything' ) > ); > }); > > -Mike > > On Thu, Nov 19, 2009 at 3:18

[jQuery] Bolding a certain word - string manipulation?

2009-11-19 Thread Rua
Hi I'm trying to select a specific word inside a div and would like to bold it, I can't seem to find how to do this anywhere! $(".tpSurveyQuestion:contains('anything')").css("font-weight","bold"); -- View this message in context: http://old.nabble.com/Bolding-a-certain-word---string-manipulatio