2
I have a menu with four items. The menu is manageable, not manual via HTML.
I want to modify a link in the first menu item, I have how to do this with Jquery? I don’t even know how to search to do this.
For example:
<li class='classe' onclick='window.location=\"/paginaSYS\"'><a href='/paginaSYS'>tituloSYS</a></li>
With this top code, and with the manager I can generate the four menu items, but I want to insert a link when the user click on the first item.
I want when the user click on the first menu item, it does not open the html generated by the manager, but rather a URL that I sort.
If he clicks on ITEM 1 - Do not upload to the page generated by the manager. www.site.com/menu1 I want you to send to an address I wish.
I thought I’d make a redirect.
Be a little more specific. Do you want to add 1 link in 1 text first that comes, or do you want to add 1 item first from the list? Ex: I can create a <a> and leave it as the first from the list or take the first<a> from the list and add the href="what you want" attribute even if href="" is empty at the beginning of the element.
– Ronny Amarante
I don’t know if just for me, but I think your doubt has not become clear enough. I could edit and try to be more specific by kindness?
– Diego Lopes Lima
I just finished editing, tell me if it’s better to understand now.
– Felipe Viero Goulart