- 09 Sep, 2007 2 commits
-
-
John Resig authored
-
John Resig authored
Landing the .clone() rewrite by Brandon (also includes the new event cloning functionality .clone(true)).
-
- 08 Sep, 2007 10 commits
-
-
John Resig authored
-
John Resig authored
-
John Resig authored
Added the new .offset() method, directly imported from Dimensions (heavily worked over by both Brandon and John). Original source: http://brandonaaron.net/jquery/issues/dimensions/new_offset/jquery.offset.js
-
John Resig authored
-
John Resig authored
-
John Resig authored
-
John Resig authored
-
John Resig authored
- You can now animate non-px values (em and %, for example) - You can animate things things that previously broke (like font-size) - You can now write fx plugins (to add in the ability to animate colors, for example) - Advanced queueing controls were added (.queue(), .dequeue(), and {queue:false}) - Step was re-tooled to work with the new fx plugin scheme - Added the ability to do relative animations - Made it so that you can do simultaneous animations on a single element - A complete refactoring of jQuery.fx, improving naming, and usability -
John Resig authored
Fix for bug #760 (fontSize returns different values in IE). This was part of a larger issue where IE returned non-pixel values from it's computed style - this normalizes it (thanks to a fix by Dean Edwards).
-
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 1 commit
-
-
John Resig authored
-