I'm using a horizontal boostrap menu, its structure is basically like this:
<ul class="nav nav-pills">
...
<li data-type="news" id="5" role="presentation"><a href="#">Link</a></li>
<li data-type"sports" id="4" role="presentation"><a href="#">Link2</a></li>
...
</ul>
The idea is to click on each menu to call a jquery function to bring results with ajax and also activate the menu, if this structure were a list of inputs of the type "radio" would be more practical and quick to get all the attributes, is it possible, when selecting the menu, to mark the hidden "radio" input for this menu?