$('.tpSurveyQuestion').each( function() {
> var $question = $(this);
> $question.html(
> $question.html().replace( 'anything', 'anything' )
> );
> });
>
> -Mike
>
> On Thu, Nov 19, 2009 at 3:18
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
2 matches
Mail list logo