[jQuery] Re: simple click event won't fire

2009-01-20 Thread mmvdl
Thx for pointing that out, native events won't fire...check! I got carried away thinking the native event was firing because when i initialy used $("table.vacatures tbody tr").click( function(){ $(this).find("a:first").click(); }); I got a 'too much recursion' error, thinking that the native

[jQuery] Re: simple click event won't fire

2009-01-19 Thread Ricardo Tomasi
It's a helper method that only fires once, then is removed. http://docs.jquery.com/Events/one#typedatafn mmvdl, if you are expecting that your click() call will trigger the default browser action (following the link), that won't happen. click () only fires the listeners, not the native behaviour

[jQuery] Re: simple click event won't fire

2009-01-19 Thread Joe
What is a "one" event? On Jan 19, 6:48 am, mmvdl wrote: > 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