You need to pass the string to jQuery:
$(html).find("UP").replaceWith("");
You could also do a simple text replace:
html.replace('UP', 'UP").replaceWith("")
>
> It does not need to be recursive, but can be.
>
> If recursive, will get used before the var is dumped to a div. If not
> will get used
First, you need to get jQuery in the mix by doing $(html).find().
Then, you should probably be using this syntax:
$(html).find('td:contains("UP")').replaceWith(...);
Even better than replaceWith, if you only care about the contents of
the tags would be .html('');
On May 25, 8:47 pm, DanN wro
2 matches
Mail list logo