> Yeah, thats essentially what I want to do. Now how can I do that to
> all the <li> elements without having to manually type that it for each
> one?

Well, now that you posted the real html... :-)

$("#thumbnails li").click(function(){
  $(this).find("a").click();
  return false;
});

If the a element is clickable you may want to attach a handler that
prevents the bubbling to the parent li element. Otherwise it will
bubble up and do a second click.

Reply via email to