Replacing the Element with specific attribute and its value

Posted by Wazdesign on Stack Overflow See other posts from Stack Overflow or by Wazdesign
Published on 2010-05-24T09:24:18Z Indexed on 2010/05/24 9:31 UTC
Read the original article Hit count: 382

Filed under:
|
|
<p>
lorem ipsum lorem ipsums <font style="background-color:yellow">ipsum</font> ipsume lorem
</p>

how to replace the <font> tag with <abbr> so the out put will be like this.

 <p>
    lorem ipsum lorem ipsums <abbr style="background-color:yellow">ipsum</abbr> ipsume lorem
    </p>

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery