- 11 Sep, 2007 2 commits
-
-
John Resig authored
-
John Resig authored
Made the expando code attach properties to an anonymous object, as opposed to the global window object, and fixed a bug where .removeAttribute() tried to fire even if it didn't exist.
-
- 10 Sep, 2007 10 commits
-
-
John Resig authored
-
John Resig authored
-
John Resig authored
Added an extra check for removing a named cache property - calling it when it didn't exist caused an exception.
-
John Resig authored
Landing a version of $(document)/$(window) .width()/.height(). It won't win any awards, but it'll hold us over for this release.
-
John Resig authored
-
John Resig authored
So, apparently, I never committed the second half of the new field value code. This allows you to set values on groups of checkboxes, radio buttons, and selects.
-
John Resig authored
-
John Resig authored
-
John Resig authored
-
John Resig authored
-
- 09 Sep, 2007 3 commits
-
-
John Resig authored
Plugins will be most interested in: - jQuery.data(elem) -> Unique ID for the element - jQuery.data(elem, name) -> Named data store for the element - jQuery.data(elem, name, value) -> Saves a value to the named data store - jQuery.removeData(elem) -> Remove the expando and the complete data store - jQuery.removeData(elem, name) -> Removes just this one named data store jQuery's .remove() and .empty() automatically clean up after themselves. Once an element leaves a DOM document their events are no longer intact. Thus, statements like so: {{{ $("#foo").remove().appendTo("#bar"); }}} should be written like so: {{{ $("#foo").appendTo("#bar"); }}} in order to avoid losing the bound events. -
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 2 commits
-
-
John Resig authored
-
John Resig authored
-