I have alot of:
<li><a href="google.com">LINKY</a></li>
type links on my site and much prefere the whole Li to be clickable instead of just the text. So was thinking of applying some nice jquery that will hunt any $('li a') down and make it so when you click the <li>
it will trigger the click on a <a>
$('li a').each(function(index) {
$(this).parent().bind('click', function() {
$(this).children().click();
});
});
This fails to work but im not sure why? any ideas?