> Best way to listen and remove multiple events for a single delegated
> event? (EX: delegate on submit, listen for keypress and click)
>

I recommend using special events - this is built in to jQuery core and it's
precisely what it's used for (we were planning on using them to implement
submit and change delegation).

http://brandonaaron.net/blog/2009/03/26/special-events
http://brandonaaron.net/blog/2009/06/4/jquery-edge-new-special-event-hooks


> How to avoid browser sniffing. (EX: know that submit doesn't bubble in
> IE).
>

This should be a good pointer:
http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/

I was planning on using this technique for submit/change support, as well.

--John

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@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