Change the li content with jquery
Posted on 2013-01-21
I am trying to replace one of the list content with jquery, however it is not working and have error. Please advise what should be done. Appreciate your help.
I try to find the "contact us" list and replace it with "open ticket"
This is the menu:
<a href="/sc/index.php/contact">contact us</a>
What I have tried but not successful.
$('ul.menu li:contains('contact us')').val('open ticket');