jquery change element to element

Posted by Isis on Stack Overflow See other posts from Stack Overflow or by Isis
Published on 2010-03-19T09:43:58Z Indexed on 2010/03/19 10:01 UTC
Read the original article Hit count: 183

Filed under:
|
|
|

Hello

<div class="leftlink" id="mcontacts">
    <img src="test.gif" class="arrowred"/>
    <a href="/contacts/" class="u">????????</a>
</div>

if(window.location == 'http://my.site.com/contacts/')
{
    $('.menuwelcome').css('display', 'block');
    $('.leftlink').find('????????').css('font-weight', 'bold');
    $('#mcontacts').find('a').html('<b>????????</b>').remove();
}

How do remove tag "a" html, and change his for '<b>????????</b>' ? =) Than you, sorry for bad english

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html