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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -