Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add .delegate() and .undelegate(). An alternative to using .live() which ↵ | jeresig | 2010-02-01 | 1 | -32/+411 | |
| | | | | goes from a single root and filters by the specified selectors. Should be used like do: .delegate(td, hover, someFn);. Fixes #6005. | |||||
* | Provide a way to simulate default browser actions. Fixes #5973. | jeresig | 2010-01-28 | 1 | -1/+6 | |
| | ||||||
* | Make sure that special.add actually copies over event namespaces and data. ↵ | jeresig | 2010-01-25 | 1 | -0/+41 | |
| | | | | Fixes #5779 and #5834. | |||||
* | Make sure multiple bound events have their namespaces and data maintained. ↵ | jeresig | 2010-01-25 | 1 | -0/+34 | |
| | | | | Fixes #3549. | |||||
* | Make sure that it's possible to preventDefault natively-triggered (submit, ↵ | jeresig | 2010-01-25 | 1 | -1/+29 | |
| | | | | focus, blur, click) events. Fixes #5695. | |||||
* | Make sure that .die() with no args works. Fixes #5789. | jeresig | 2010-01-23 | 1 | -1/+16 | |
| | ||||||
* | Added support for multiple live event handlers, live hover, and live ↵ | Irae Brasil | 2010-01-23 | 1 | -0/+14 | |
| | | | | focus/blur (mapped to focusin/focusout). Fixes #5804, #5801, #5852. | |||||
* | Make sure non-left-click events don't bubble. Fixes #3861. | Irae Brasil | 2010-01-23 | 1 | -1/+8 | |
| | ||||||
* | Revert "Adding in backwards-compatiblity support for ↵ | jeresig | 2010-01-11 | 1 | -13/+0 | |
| | | | | | | jQuery().bind/unbind/trigger - and immediately deprecating it. Please explicitly use jQuery(document) in your code." This reverts commit e9d5947b4abbc052046585227892da0adcd56caf. | |||||
* | Adding in backwards-compatiblity support for jQuery().bind/unbind/trigger - ↵ | jeresig | 2010-01-06 | 1 | -0/+13 | |
| | | | | and immediately deprecating it. Please explicitly use jQuery(document) in your code. | |||||
* | Remove the .bind(name, fn, thisObject) and promote jQuery.event.proxy() to ↵ | jeresig | 2009-12-31 | 1 | -5/+5 | |
| | | | | jQuery.proxy() as alternative to handling scoping on callbacks. Fixes #5736. | |||||
* | Used the patch from Alexander as the basis for a rewrite of the IE change ↵ | Alexander Farkas | 2009-12-21 | 1 | -27/+9 | |
| | | | | event logic. Now has full parity with the regular change event in other browsers: Works with regular bind, works better with multiple selects, works as a regular change event (note test suite changes), works with readonly/disabled inputs, and much more. The original patch had a number of problems, including firing the change event too many times, not bubblinb properly, and not handling clicks on multi-selects properly - that should all be fixed now. Thanks Alexander for the patch pushing in the right direction. | |||||
* | Fixed problems with removing live events. Fixes #4894. | John Resig | 2009-12-09 | 1 | -1/+38 | |
| | ||||||
* | Adding in support for bubbling submit and change events, thanks to the patch ↵ | Justin Meyer | 2009-12-04 | 1 | -8/+131 | |
| | | | | by Justin Meyer. Includes a delegation test suite for manually testing to see if the events work as intended. | |||||
* | Simplified a selector in the .live() tests. | jeresig | 2009-11-30 | 1 | -2/+2 | |
| | ||||||
* | Tweaked the live test to be a bit simpler. | jeresig | 2009-11-30 | 1 | -3/+5 | |
| | ||||||
* | Corrected RegExp to match event namespaces. Fixes #5303. | Robert Katic | 2009-11-26 | 1 | -0/+4 | |
| | ||||||
* | Making sure that you can bind multiple toggles to a single element without ↵ | Mr Speaker | 2009-11-11 | 1 | -1/+17 | |
| | | | | problems. Thanks to 'Mr Speaker' for the original patch. Fixes #5274. | |||||
* | Probably not the optimal solution, but tests pass. | Yehuda Katz | 2009-09-16 | 1 | -0/+16 | |
| | ||||||
* | jquery event: closes #5250. bind(), unbind() and one() support Object ↵ | Ariel Flesler | 2009-09-16 | 1 | -0/+53 | |
| | | | | Literals (needs some refactor though) | |||||
* | testrunner: focus & blur events could fail if the window isn't focused | Ariel Flesler | 2009-09-15 | 1 | -11/+17 | |
| | ||||||
* | testrunner: resetting the scroll position after focusing a field | Ariel Flesler | 2009-09-14 | 1 | -0/+1 | |
| | ||||||
* | jquery event: fixes #4989. blur and focus events now bubble and can be ↵ | Ariel Flesler | 2009-09-14 | 1 | -0/+30 | |
| | | | | handled using live(). | |||||
* | fix for #3533, triggering an event with a colon in the name on a table no ↵ | Brandon Aaron | 2009-06-17 | 1 | -1/+9 | |
| | | | | longer throws an error in IE | |||||
* | .bind() now accepts an optional thisObject as the last argument which is ↵ | Brandon Aaron | 2009-05-07 | 1 | -1/+32 | |
| | | | | used to change the value of this in event callbacks. fixes #3699 | |||||
* | fix for #4234. hover can take one function to use for both enter and leave. | Brandon Aaron | 2009-05-06 | 1 | -0/+18 | |
| | ||||||
* | unit tests for using jQuery events on non-dom elements. fixes #3439. thanks ↵ | Brandon Aaron | 2009-05-04 | 1 | -0/+21 | |
| | | | | morgan | |||||
* | live event handlers now receive data from trigger, fixes #4532, thanks nbubna | Brandon Aaron | 2009-04-30 | 1 | -1/+5 | |
| | ||||||
* | refactor specialAll into add and remove hooks for existing special events, ↵ | Brandon Aaron | 2009-04-30 | 1 | -1/+4 | |
| | | | | live now accepts optional data param like bind, fixes #4612 and #4613, thanks to Mike Helgeson | |||||
* | enable test for binding events cross-frame that was fixed in r6316 | Brandon Aaron | 2009-04-29 | 1 | -9/+5 | |
| | ||||||
* | .unbind() without any arguments now also unbinds namespaced events. fixes ↵ | Brandon Aaron | 2009-04-29 | 1 | -2/+7 | |
| | | | | #4609 and #4241 | |||||
* | fix for #4189, live/die now work with contexts other than just document | Brandon Aaron | 2009-03-20 | 1 | -1/+19 | |
| | ||||||
* | jquery event: Fixing event.currentTarget for live(). | Ariel Flesler | 2009-02-23 | 1 | -1/+12 | |
| | ||||||
* | Changed the currentTarget test - no need to test the native event triggering ↵ | John Resig | 2009-02-17 | 1 | -3/+1 | |
| | | | | for this test. | |||||
* | testrunner: Misc | Ariel Flesler | 2009-02-17 | 1 | -0/+3 | |
| | ||||||
* | jquery event: closes #4033. e.currentTarget wasn't being enforced for native ↵ | Ariel Flesler | 2009-02-17 | 1 | -0/+14 | |
| | | | | events (IE doesn't have it) | |||||
* | Fixed bubbling of live events (if an inner element handles an event first - ↵ | John Resig | 2009-02-09 | 1 | -1/+24 | |
| | | | | and stops progatation - then the parent event doesn't encounter the event). Thanks to Irae for the patch. Fixes bug #3980. | |||||
* | Focused support of .live(). stopPropagation and stopImmediatePropagation are ↵ | John Resig | 2009-01-20 | 1 | -1/+10 | |
| | | | | not supported - and do not do what the use would expect. | |||||
* | Landed a fix for when a DOM element gets accidentally removed by another ↵ | John Resig | 2009-01-10 | 1 | -1/+15 | |
| | | | | live event handler. Thanks to Irae for the patches. Fixed #3820. | |||||
* | Didn't get specific enough with the proxy guid, fixes #3787. | John Resig | 2009-01-09 | 1 | -2/+15 | |
| | ||||||
* | Made it so that you can bind a single function to multiple .live() ↵ | John Resig | 2009-01-09 | 1 | -1/+26 | |
| | | | | | | | selectors. Additionally, simplified the proxy code to provide a default proxy function. Fixes #3787. | |||||
* | testrunner: refactored unbind's tests. Including one for #3538, passing ↵ | Ariel Flesler | 2009-01-08 | 1 | -37/+66 | |
| | | | | since last commit. | |||||
* | Disabled an extra event binding. | John Resig | 2009-01-05 | 1 | -1/+3 | |
| | ||||||
* | jquery event: closes #3772. The extra function on $.event.trigger isn't ↵ | Ariel Flesler | 2009-01-02 | 1 | -38/+1 | |
| | | | | supported anymore. | |||||
* | jquery event: | Ariel Flesler | 2008-12-31 | 1 | -31/+72 | |
| | | | | | | | | | | | * event objects have isDefaultPrevented, isPropagationStopped and isImmediatePropagationStopped methods. * Removed donative and dohandlers from $.trigger * event.result carries the last returned data from a handler(not undefined). * $.trigger doesn't keep bubbling if stopPropagation() is called. * Same event object is used all along for global trigger * Fixed the bug where target doesn't change when triggering on many elements. * The data array on $.trigger was accumulating objects as it bubbles. testrunner: adding more tests | |||||
* | Made sure that return false works in .live() along with the event object ↵ | John Resig | 2008-12-30 | 1 | -1/+15 | |
| | | | | being passed in as the first argument. | |||||
* | jquery event: jQuery.Event can be instantiated without the 'new' keyword. | Ariel Flesler | 2008-12-29 | 1 | -2/+7 | |
| | ||||||
* | jquery event: Closes #3662. Adds a jQuery.Event class. Makes trigger and fix ↵ | Ariel Flesler | 2008-12-25 | 1 | -19/+33 | |
| | | | | simpler. Adds currentTarget attribute to event objects. Event object isn't passed as part of data. | |||||
* | Added a new liveQuery/event delegation hybrid method: .live and .die. Easily ↵ | John Resig | 2008-12-22 | 1 | -0/+66 | |
| | | | | adapts event delegation to the jQuery style. $("div").live("click", fn); $("div > #foo").live("submit", fn); $("div").die("click"); | |||||
* | Made sure that the correct event.taget is being used in event bubbling. | John Resig | 2008-12-22 | 1 | -4/+4 | |
| |