my UI is <li><a href='#'>hello</a></li>
anchor tag has already event handler i.e. click(function(){})
I want to give another click function to list items but its not working
Update – I only want to give event handler to list items not anchor tag as parent
Please suggest me
Here is an example. If you have this HTML
Then you can have this jquery handlers:
Notice that you need the “return false;”.
Hope this helps,
-covo