javascript - jQuery change innerHTML of link based on href -
i have following html generated cms tabbed element:
<li class="active" style="width: 233px;"> <a href="#tabopen_tickets">open tickets</a> </li>
i want change link's
text of "open tickets" other text, know link's href
.
how can jquery? thanks!
$('a[href="#tabopen_tickets"]').html('your new value');
Comments
Post a Comment