- From: Nelson Menezes <flying.mushroom@gmail.com>
- Date: Sun, 18 Oct 2009 19:20:27 +0200
2009/10/18 Tab Atkins Jr. <jackalmage at gmail.com>: > As long as the event bubbles, you can always just listen at the > document root and then check event.target to see who got updated. > That way you don't have to wait, nor do you have to know which > specific bits are getting replaced. You would want the event to fire once, though, regardless of how many targets are being replaced. Otherwise you won't be able to distinguish 3 events generated by one response with content for #div1,#div2, and #div3. Event.target should be the original <a> or <form> element, or the window object if the request originated via scripting. Nelson Menezes http://fittopage.org
Received on Sunday, 18 October 2009 10:20:27 UTC