views:

2811

answers:

1

I have this:

<span class="name"><span class="gost">Yahoo</span>, </span>

I tried something like this, but no luck:

$("span.name").html(
 $(this).replace(/,/g, '')
);
+2  A: 
v = $("span.name").html().replace(/,/g,'');
$("span.name").html(v);

Try that

inkedmn
So thats how you are suposted to that... Omg... :) Thanks!!! ;)
GaVrA