[jQuery] simple click event won't fire

2009-01-19 Thread mmvdl
Within a each first of every row has an tag. But I want the whole to be clickable. To avoid recursion I've put a .one() event on the like so: $("table.vacatures tbody tr").one("click", function(){ $(this).find("a:first").click(); }); But the click on the tag will not fire. Why?

[jQuery] Simple click event

2008-09-03 Thread byron
I created an email link, that I want invoked ("clicked") on page load. I thought I could simply do: $().ready(function() { $("#thelink").click() }) Do I need to do something else? Thanks.