- 08 Sep, 2007 1 commit
-
-
John Resig authored
-
- 06 Sep, 2007 3 commits
-
-
John Resig authored
-
John Resig authored
-
John Resig authored
- New method: .serializeArray() This returns an array of name/value pairs representing the contents of a form, or individual input elements. - Enhancement: .serialize() The results are correct now (as opposed to the mess from before), and allows you to serializes forms directly (rather than just the input elements). - Enhancement: .val() This now returns the correct value when dealing wih selects. Additionally, when dealing with multiple selects, it returns an array of values. Based upon Mike's code: http://malsup.com/jquery/form/comp/form.js and test suite: http://malsup.com/jquery/form/comp/test.html
-
- 04 Sep, 2007 8 commits
-
-
John Resig authored
Added support for the new .andSelf() method. This method combines the previous two matched sets on the stack into a single stack. For example: $("#foo").parent(); // => [ #bar ] $("#foo").parent().andSelf(); // => [ #bar, #foo ] -
John Resig authored
Fix for bug #1549, where the DOM conversion of <code/> and similar elements would fail. This forces it to work correctly in all browsers.
-
John Resig authored
Made it so that you can't change the type of an input element, having it throw an exception instead (except for input elements that haven't yet been injected into the DOM). (Bug #1536)
-
John Resig authored
Removed all deprecated functionality for jQuery 1.2. A full list of what was removed can be found here: http://jquery.com/blog/2007/08/24/jquery-114-faster-more-tests-ready-for-12/
-
John Resig authored
Removed all inline documentation. The current version of all documentation is stored online, on the wiki: http://docs.jquery.com/
-
John Resig authored
Example: $("#foo").slideDown(1000); setTimeout(function(){ $("#foo").stop(); }, 500); -
John Resig authored
-
John Resig authored
- Cross Domain getScript $.getScript("http://foo.com/script.js"); - JSONP $.ajax({ url: "script.js", type: "jsonp" }); $.getJSON("script.js?callback=?"); - Cross Domain JSONP/getJSON $.getJSON("http://foo.com/script.js?callback=?"); - No-cache Ajax Requests $.ajax({ url: "test.html", cache: false });
-
- 03 Sep, 2007 2 commits
-
-
John Resig authored
Added namespaced events to bind, unbind, and trigger. This allows you to deal with event handlers of a specific "class" (great for plugins).
-
John Resig authored
-
- 31 Aug, 2007 6 commits
-
-
John Resig authored
-
John Resig authored
-
John Resig authored
Added support for .wrapInner() and .wrapAll() - and re-wrote .wrap() to use .wrapAll(). (Fixes bug #1296)
-
John Resig authored
Added support for .contents(). Returns ALL child nodes for an element - except for on an IFrame, then it returns the IFrame's document. This fixes #1024.
-
John Resig authored
-
John Resig authored
Made it so that you can pass in an event object to the trigger data args and it'll override the custom event object (this way you can pass in the event object of a mousemove to a drag event trigger, for example).
-
- 30 Aug, 2007 1 commit
-
-
John Resig authored
Added a new extra fn arg to trigger (so you don't have to simulate the trigger yourself). (Bug #1467) Added a new .triggerHandler() method that allows you to NOT trigger native calls AND returns the response from the handlers. (Bug #873 & #1417)
-
- 28 Aug, 2007 2 commits
-
-
John Resig authored
-
John Resig authored
Made it so that the last return value is always returned from handle() (unless one of the return values was false, in which case the return value is false). (Bug #1416)
-
- 27 Aug, 2007 1 commit
-
-
John Resig authored
-
- 25 Aug, 2007 4 commits
-
-
John Resig authored
Added new replaceWith() (replace all matched elements with the specified HTML/DOM Elements/Array/etc.) and replaceAll() (replace the specified elements with the set of matched elements).
-
John Resig authored
-
John Resig authored
Examples: - $("#test").load("test.html #something"); - $("#test").load("test.html p.user"); Caveats: - No scripts are injected when a selector is used. - The selector is rooted inside the head and body - it's equivalent to doing: $("body,head").find(selector) -
John Resig authored
-
- 24 Aug, 2007 3 commits
-
-
John Resig authored
-
John Resig authored
Marked all the appropriate methods as being deprecated for the 1.1.4 release (in preparation for 1.2).
-
John Resig authored
Brought back a husk method to represent evalScripts. I didn't realize so many plugins relied on it (it's deprecated in this release).
-
- 22 Aug, 2007 7 commits
-
-
John Resig authored
-
John Resig authored
Only bind .ready() once per instance of jQuery - and only bind if the ready() method is actually called (nothing is bound if window/load is used).
-
John Resig authored
-
John Resig authored
-
John Resig authored
-
John Resig authored
Made 'jQuery' unrollable via .noConflict(true) and instances of new Function() have been converted to eval(function(){}) in order to handle jQuery name changes. (Bug #1393) -
John Resig authored
-
- 21 Aug, 2007 2 commits
-
-
John Resig authored
Using some of the ideas presented by rformato, I've significantly sped up $("#id") selection. It's now just 10% slower than doing: $(document.getElementById("test")), which seems quite acceptable. (Bug #1316) -
John Resig authored
-