Dave Methvin wrote:
I ran into the "onactivate" event. "activate" is essentially the way <a>
tags work. In other words the event fires on a onclick and also when
onkeypress is fired for the enter key on an element.

I'm sure it's documented, but since you've already read about
it .... :)

How does this differ from focus? When would you use it?
Focus is different than activating a link.

Focus will fire when you tab over the link (there's also bubbling issues without some tricks).

Activate basically behaves the exact same as a href on an <a> does. href="javascript:foo();" and $a.activate(function(e) { foo(); }); will basically behave the same.

~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]

-- 
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.


Reply via email to