Make the entire LI clickable


/ Published in: jQuery
Save to your folder(s)

This trick is very useful when you're using UL list to make a menu. What it does is, when you click on the LI area (outside of the link), it will search for the url in the anchor tag and execute the link:

URL: http://www.queness.com/post/126/useful-and-handy-jquery-tips-and-tricks

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.