jquery.git
18 years agoCommented parent, ancestors, parents, next, prev, and siblings.
Yehuda Katz [Thu, 13 Jul 2006 04:37:06 +0000 (04:37 +0000)]
Commented parent, ancestors, parents, next, prev, and siblings.

Previously commented filter, not, and add

18 years ago(no commit message)
Yehuda Katz [Thu, 13 Jul 2006 04:21:15 +0000 (04:21 +0000)]

18 years agoTest Commit.
John Resig [Thu, 13 Jul 2006 04:05:08 +0000 (04:05 +0000)]
Test Commit.

18 years agoMore bug fixes and added documentation - passes the test suite now.
John Resig [Mon, 10 Jul 2006 03:20:56 +0000 (03:20 +0000)]
More bug fixes and added documentation - passes the test suite now.

18 years agoAnother massive commit - lots of changes, additions, removals - and more documentation.
John Resig [Sun, 9 Jul 2006 20:49:40 +0000 (20:49 +0000)]
Another massive commit - lots of changes, additions, removals - and more documentation.

18 years agoFirst batch of doc/commenting additions.
John Resig [Sat, 8 Jul 2006 21:15:08 +0000 (21:15 +0000)]
First batch of doc/commenting additions.

18 years agoAdded document.ready shortcut to $().
John Resig [Fri, 7 Jul 2006 00:31:27 +0000 (00:31 +0000)]
Added document.ready shortcut to $().

18 years agoFixed a bug where nothing was passed in to $(), it would bomb out.
John Resig [Thu, 6 Jul 2006 22:09:39 +0000 (22:09 +0000)]
Fixed a bug where nothing was passed in to $(), it would bomb out.

18 years agoFixed a bug with how pushStack was checking for arrays.
John Resig [Thu, 6 Jul 2006 20:48:38 +0000 (20:48 +0000)]
Fixed a bug with how pushStack was checking for arrays.

18 years agoFinally squared away the latest pushStack revisions and $()[] code. jQuery is now...
John Resig [Thu, 6 Jul 2006 19:59:16 +0000 (19:59 +0000)]
Finally squared away the latest pushStack revisions and $()[] code. jQuery is now an array! and it's non-destructive, if you want it to be!

18 years agoFixed a bug with space-less [@foo*=bar].
John Resig [Thu, 6 Jul 2006 16:04:12 +0000 (16:04 +0000)]
Fixed a bug with space-less [@foo*=bar].

18 years agoBug fix with how global event triggers are handled.
John Resig [Thu, 6 Jul 2006 14:50:56 +0000 (14:50 +0000)]
Bug fix with how global event triggers are handled.

18 years agoAdded in support for global event triggering.
John Resig [Thu, 6 Jul 2006 05:43:26 +0000 (05:43 +0000)]
Added in support for global event triggering.

18 years agoAdded a bunch of improved support for DOM Element arrays - along with a new $.A(...
John Resig [Thu, 6 Jul 2006 05:16:39 +0000 (05:16 +0000)]
Added a bunch of improved support for DOM Element arrays - along with a new $.A( ... ) function.

18 years agoMulti-filtering is now in place, you can do:
John Resig [Wed, 5 Jul 2006 17:12:35 +0000 (17:12 +0000)]
Multi-filtering is now in place, you can do:
$("div").filter(".this,.or,.that")
and find all elements that match any of the three expressions.

18 years agoFixed a problem with incorrect height/width being reported both in quirks mode (in...
John Resig [Wed, 5 Jul 2006 04:14:46 +0000 (04:14 +0000)]
Fixed a problem with incorrect height/width being reported both in quirks mode (in IE) and by the box model. Also added a nice new $.swap() scoping function.

18 years ago.remove() is no longer destructive (so that appendTo can be used later).
John Resig [Wed, 5 Jul 2006 02:09:38 +0000 (02:09 +0000)]
.remove() is no longer destructive (so that appendTo can be used later).

18 years agoAdded a fix for the hover mouseover/mouseout problem.
John Resig [Wed, 5 Jul 2006 02:07:20 +0000 (02:07 +0000)]
Added a fix for the hover mouseover/mouseout problem.

18 years agoFixed the stupid parent() bug.
John Resig [Wed, 5 Jul 2006 02:03:38 +0000 (02:03 +0000)]
Fixed the stupid parent() bug.

18 years agoFixed the issue with .text() returning incorrect results.
John Resig [Wed, 5 Jul 2006 02:01:24 +0000 (02:01 +0000)]
Fixed the issue with .text() returning incorrect results.

18 years agoFixed the document.ready addEventListener issue.
John Resig [Wed, 5 Jul 2006 01:48:00 +0000 (01:48 +0000)]
Fixed the document.ready addEventListener issue.

18 years agoAdded a possible fix for document.ready on https: sites, in IE.
John Resig [Wed, 5 Jul 2006 01:42:12 +0000 (01:42 +0000)]
Added a possible fix for document.ready on https: sites, in IE.

18 years agoFixed a bug with $.map() and undefined values.
John Resig [Tue, 4 Jul 2006 04:37:09 +0000 (04:37 +0000)]
Fixed a bug with $.map() and undefined values.

18 years agoAdded a fix for IE for binding events onto IFrame content.
John Resig [Tue, 4 Jul 2006 02:19:41 +0000 (02:19 +0000)]
Added a fix for IE for binding events onto IFrame content.

18 years agoForgot to check for the non-existance of a complete function.
John Resig [Tue, 4 Jul 2006 01:23:46 +0000 (01:23 +0000)]
Forgot to check for the non-existance of a complete function.

18 years agoHelp to squelch unnecessary Mozilla exceptions.
John Resig [Tue, 4 Jul 2006 01:23:18 +0000 (01:23 +0000)]
Help to squelch unnecessary Mozilla exceptions.

18 years agoAdded in a couple AJAX fixes for status and content-type.
John Resig [Tue, 4 Jul 2006 00:42:57 +0000 (00:42 +0000)]
Added in a couple AJAX fixes for status and content-type.

18 years agoMade a bunch of changes to the way that the $() compatability code is handled.
John Resig [Mon, 3 Jul 2006 22:31:37 +0000 (22:31 +0000)]
Made a bunch of changes to the way that the $() compatability code is handled.

18 years agoFix jQuery.httpData to allow forcing of text data
Michael Geary [Sun, 2 Jul 2006 02:11:37 +0000 (02:11 +0000)]
Fix jQuery.httpData to allow forcing of text data

18 years agoGetting ready for 1.0a.
John Resig [Sat, 1 Jul 2006 14:05:50 +0000 (14:05 +0000)]
Getting ready for 1.0a.

18 years agoBah i need some sleep...
Gilles van den Hoven [Tue, 27 Jun 2006 21:36:45 +0000 (21:36 +0000)]
Bah i need some sleep...

18 years agobah, forgot to test it, this is the fix
Gilles van den Hoven [Tue, 27 Jun 2006 21:26:25 +0000 (21:26 +0000)]
bah, forgot to test it, this is the fix

18 years agofix for $.fn.serialize bug (see mailinglist)
Gilles van den Hoven [Tue, 27 Jun 2006 20:56:51 +0000 (20:56 +0000)]
fix for $.fn.serialize bug (see mailinglist)

18 years agosee mailnglist
Gilles van den Hoven [Sat, 24 Jun 2006 14:10:12 +0000 (14:10 +0000)]
see mailnglist

18 years agoForgot to change $.apply() to fn.apply().
John Resig [Fri, 23 Jun 2006 14:11:39 +0000 (14:11 +0000)]
Forgot to change $.apply() to fn.apply().

18 years agoMade some tweaks to the different AJAX callbacks.
John Resig [Thu, 22 Jun 2006 22:25:03 +0000 (22:25 +0000)]
Made some tweaks to the different AJAX callbacks.

18 years agoAdded in both of Franck's suggested fixes jQuery.class and "foo" + "bar".split(",").
John Resig [Thu, 22 Jun 2006 21:37:18 +0000 (21:37 +0000)]
Added in both of Franck's suggested fixes jQuery.class and "foo" + "bar".split(",").

18 years agoUpdated global namespaces.
John Resig [Thu, 22 Jun 2006 20:14:41 +0000 (20:14 +0000)]
Updated global namespaces.

18 years agoOrganized the event functions.
John Resig [Thu, 22 Jun 2006 13:25:21 +0000 (13:25 +0000)]
Organized the event functions.

18 years agoHappy 100th commit, jQuery!
John Resig [Thu, 22 Jun 2006 05:26:26 +0000 (05:26 +0000)]
Happy 100th commit, jQuery!

18 years agoMassive update, bugs, filesize, new features - getting ready for 1.0.
John Resig [Thu, 22 Jun 2006 05:23:38 +0000 (05:23 +0000)]
Massive update, bugs, filesize, new features - getting ready for 1.0.

18 years agoDid a lot of work on the form plugin. Re-worked the function names, documentation...
John Resig [Thu, 22 Jun 2006 03:03:44 +0000 (03:03 +0000)]
Did a lot of work on the form plugin. Re-worked the function names, documentation, fixed some bugs - generally made things much more explicit and easier to understand.

18 years agoupdated the builders with form.js
Gilles van den Hoven [Wed, 21 Jun 2006 10:08:57 +0000 (10:08 +0000)]
updated the builders with form.js

18 years agoadded the form functions from my latest complete version (rev 81)
Gilles van den Hoven [Wed, 21 Jun 2006 10:08:13 +0000 (10:08 +0000)]
added the form functions from my latest complete version (rev 81)

18 years agoThere was an issue with my table/tbody detection.
John Resig [Tue, 20 Jun 2006 15:42:10 +0000 (15:42 +0000)]
There was an issue with my table/tbody detection.

18 years agoThe AJAX plugin is now fully documented, along with some bug fixes and new features.
John Resig [Mon, 19 Jun 2006 01:29:54 +0000 (01:29 +0000)]
The AJAX plugin is now fully documented, along with some bug fixes and new features.

18 years agoI've cleaned up and documented the events plugin, it's close to being ready for 1.0.
John Resig [Mon, 19 Jun 2006 00:12:14 +0000 (00:12 +0000)]
I've cleaned up and documented the events plugin, it's close to being ready for 1.0.

18 years agoStarted the form plugin, moving stuff from AJAX over to it.
John Resig [Sun, 18 Jun 2006 23:34:09 +0000 (23:34 +0000)]
Started the form plugin, moving stuff from AJAX over to it.

18 years agoFixed the double-firing IE bug. (Ticket #13)
John Resig [Sun, 18 Jun 2006 01:50:12 +0000 (01:50 +0000)]
Fixed the double-firing IE bug. (Ticket #13)

18 years agoImproved the robustness of the response codes based upon what's in Dojo. (Ticket...
John Resig [Sun, 18 Jun 2006 01:42:41 +0000 (01:42 +0000)]
Improved the robustness of the response codes based upon what's in Dojo. (Ticket #14)

18 years agoOperation "Remove JSLint Changes" has begun.
John Resig [Sun, 18 Jun 2006 01:29:53 +0000 (01:29 +0000)]
Operation "Remove JSLint Changes" has begun.

18 years agoChanged border stuff to borderTopWidth (Ticket #9)
John Resig [Sun, 18 Jun 2006 01:23:08 +0000 (01:23 +0000)]
Changed border stuff to borderTopWidth (Ticket #9)

18 years ago$.getCSS (see bug #11)
Gilles van den Hoven [Sat, 17 Jun 2006 09:10:45 +0000 (09:10 +0000)]
$.getCSS (see bug #11)

18 years agoTest commit.
Stefan Petre [Fri, 16 Jun 2006 14:23:33 +0000 (14:23 +0000)]
Test commit.

18 years agoDOMContentLoaded works in Opera 9b2+, so I have it firing for that now too - the...
John Resig [Fri, 16 Jun 2006 04:23:30 +0000 (04:23 +0000)]
DOMContentLoaded works in Opera 9b2+, so I have it firing for that now too - the means that there is a DOM Ready solution for every major browser! (Older version of Opera simply fallback to window.onload)

18 years agoAdded onSuccess and onError callbacks for the $.xml() function.
John Resig [Fri, 16 Jun 2006 02:43:04 +0000 (02:43 +0000)]
Added onSuccess and onError callbacks for the $.xml() function.

18 years agoFixed not being able to set the disabled value of an element using .attr(). Ticket #8
John Resig [Fri, 16 Jun 2006 02:25:10 +0000 (02:25 +0000)]
Fixed not being able to set the disabled value of an element using .attr(). Ticket #8

18 years agoFixed issues with @* and @foo selectors. Ticket #2
John Resig [Fri, 16 Jun 2006 02:18:04 +0000 (02:18 +0000)]
Fixed issues with @* and @foo selectors. Ticket #2

18 years agoIE is now forced layout if it doesn't have it (such that opacity now works as expecte...
John Resig [Fri, 16 Jun 2006 02:01:39 +0000 (02:01 +0000)]
IE is now forced layout if it doesn't have it (such that opacity now works as expected). (Ticket #4).

18 years agoAdded Klaus' fix for accidental DOM node catches (Ticket #3).
John Resig [Fri, 16 Jun 2006 01:51:15 +0000 (01:51 +0000)]
Added Klaus' fix for accidental DOM node catches (Ticket #3).

18 years agoYou can now append and prepend into a table that doesn't have a tbody.
John Resig [Fri, 16 Jun 2006 00:45:02 +0000 (00:45 +0000)]
You can now append and prepend into a table that doesn't have a tbody.

18 years agoIt's now possible to add <td>s and <th>s to a table, using only HTML.
John Resig [Fri, 16 Jun 2006 00:33:55 +0000 (00:33 +0000)]
It's now possible to add <td>s and <th>s to a table, using only HTML.

18 years agoRemoved recent cssText addition, doesn't work as expected.
John Resig [Fri, 16 Jun 2006 00:22:00 +0000 (00:22 +0000)]
Removed recent cssText addition, doesn't work as expected.

18 years agoAdded some of the fixes discussed over at Dean's blog, concerning DOM Ready.
John Resig [Fri, 16 Jun 2006 00:19:47 +0000 (00:19 +0000)]
Added some of the fixes discussed over at Dean's blog, concerning DOM Ready.

18 years agoChanged the window.location hack to be more specific (and documented).
John Resig [Fri, 16 Jun 2006 00:18:15 +0000 (00:18 +0000)]
Changed the window.location hack to be more specific (and documented).

18 years ago$.css() now accounts for borders in addition to padding when calculating the height...
John Resig [Fri, 16 Jun 2006 00:09:51 +0000 (00:09 +0000)]
$.css() now accounts for borders in addition to padding when calculating the height/width of an element.

18 years agoAdded checks for the box model.
John Resig [Fri, 16 Jun 2006 00:05:56 +0000 (00:05 +0000)]
Added checks for the box model.

18 years agoFake trigger events now get passed through $.event.fix() first, to give them an extra...
John Resig [Fri, 16 Jun 2006 00:02:54 +0000 (00:02 +0000)]
Fake trigger events now get passed through $.event.fix() first, to give them an extra layer of authenticity.

18 years agochanged ID selector code
Gilles van den Hoven [Thu, 15 Jun 2006 10:02:37 +0000 (10:02 +0000)]
changed ID selector code

18 years agoFX Queueing added. Effects no longer mess up causing weird results.
John Resig [Thu, 15 Jun 2006 04:48:52 +0000 (04:48 +0000)]
FX Queueing added. Effects no longer mess up causing weird results.

18 years agoCleaned up the fx() function and fixed the height/width 'auto' bug.
John Resig [Thu, 15 Jun 2006 03:11:35 +0000 (03:11 +0000)]
Cleaned up the fx() function and fixed the height/width 'auto' bug.

18 years agoFixed height/width issues that happend due to the box model, in $.css().
John Resig [Thu, 15 Jun 2006 02:27:18 +0000 (02:27 +0000)]
Fixed height/width issues that happend due to the box model, in $.css().

18 years agoAdding in the brand new, working, IE DOM Ready code. Plus I made it such that if...
John Resig [Wed, 14 Jun 2006 20:05:06 +0000 (20:05 +0000)]
Adding in the brand new, working, IE DOM Ready code. Plus I made it such that if you bind a ready() function after the DOM has loaded, it will fire the function instantly.

18 years agoReverted back a $.tag change.
John Resig [Wed, 14 Jun 2006 17:31:09 +0000 (17:31 +0000)]
Reverted back a $.tag change.

18 years agoAdded in some revised DOM Ready code, I've removed all the kludgey stuff. I'd prefer...
John Resig [Tue, 13 Jun 2006 04:12:06 +0000 (04:12 +0000)]
Added in some revised DOM Ready code, I've removed all the kludgey stuff. I'd prefer to have predictable, slow, code that unpredictable fast code.

18 years agoAdded Mike Alsup's style/cssText fix and made a quick typeof change.
John Resig [Tue, 13 Jun 2006 04:09:56 +0000 (04:09 +0000)]
Added Mike Alsup's style/cssText fix and made a quick typeof change.

18 years agoFixed appending rows to a table.
John Resig [Tue, 13 Jun 2006 02:20:15 +0000 (02:20 +0000)]
Fixed appending rows to a table.

18 years agoAdded UNIX build script.
John Resig [Sun, 11 Jun 2006 21:24:14 +0000 (21:24 +0000)]
Added UNIX build script.

18 years agoI've completely resolved the known issues with document ready. I use the known DOM...
John Resig [Sun, 11 Jun 2006 18:59:45 +0000 (18:59 +0000)]
I've completely resolved the known issues with document ready. I use the known DOM ready functions that Mozilla and IE provides. For Opera and Safari I fall back to the original hack, but ignore it, and fall back to window.onload, if there are scripts embedded in the DOM.

18 years agoFixed another bug with retreiving elements by ID.
John Resig [Sun, 11 Jun 2006 18:27:31 +0000 (18:27 +0000)]
Fixed another bug with retreiving elements by ID.

18 years agoFixed an issue with #id expression parsing, an issue with formatting, and removed...
John Resig [Sun, 11 Jun 2006 18:12:46 +0000 (18:12 +0000)]
Fixed an issue with #id expression parsing, an issue with formatting, and removed the try{} block from around event firings.

18 years agoFound the bug that was killing slideUp/slideDown.
John Resig [Sun, 11 Jun 2006 01:16:36 +0000 (01:16 +0000)]
Found the bug that was killing slideUp/slideDown.

18 years agoRemoving test file from previous commit
Michael Geary [Sat, 10 Jun 2006 19:05:14 +0000 (19:05 +0000)]
Removing test file from previous commit

18 years agoTest commit to see if it works from geary.jquery.com
Michael Geary [Sat, 10 Jun 2006 19:04:08 +0000 (19:04 +0000)]
Test commit to see if it works from geary.jquery.com

18 years agochanged $.execute back to eval()
Gilles van den Hoven [Fri, 9 Jun 2006 15:36:06 +0000 (15:36 +0000)]
changed $.execute back to eval()

18 years agoBAT file to build the jquery SVN into 1 file, for easy debugging.
Gilles van den Hoven [Fri, 9 Jun 2006 15:31:09 +0000 (15:31 +0000)]
BAT file to build the jquery SVN into 1 file, for easy debugging.

18 years agoremoved $.fn.changer by Marc's request and changed back the responseText in $.xml
Gilles van den Hoven [Fri, 9 Jun 2006 14:49:09 +0000 (14:49 +0000)]
removed $.fn.changer by Marc's request and changed back the responseText in $.xml

18 years agoBugs fixxed:
Gilles van den Hoven [Thu, 8 Jun 2006 17:31:57 +0000 (17:31 +0000)]
Bugs fixxed:
- I've renamed $.eval to $.execute (since $.$$exec is allready there?)
- Commited sam's form function
- Removed $.fn.formValues()
- Removed $.fn.update()
- Removed $.fn.serialize()

18 years agoname == id bug, second attempt
Gilles van den Hoven [Tue, 6 Jun 2006 12:51:44 +0000 (12:51 +0000)]
name == id bug, second attempt

18 years agoRemoved unnecessary instances of === or !==.
John Resig [Mon, 5 Jun 2006 16:19:03 +0000 (16:19 +0000)]
Removed unnecessary instances of === or !==.

18 years ago$.eval bug ==> added ==> || ""
Gilles van den Hoven [Sat, 3 Jun 2006 13:49:25 +0000 (13:49 +0000)]
$.eval bug ==> added ==> || ""

18 years agolittle bug in $.fx.fadeTo
Gilles van den Hoven [Sat, 3 Jun 2006 12:48:19 +0000 (12:48 +0000)]
little bug in $.fx.fadeTo

18 years agoSome errors in the formvalues() function
Gilles van den Hoven [Fri, 2 Jun 2006 14:27:25 +0000 (14:27 +0000)]
Some errors in the formvalues() function

18 years ago(no commit message)
Gilles van den Hoven [Thu, 1 Jun 2006 16:40:37 +0000 (16:40 +0000)]

18 years agosee mailinglist
Gilles van den Hoven [Wed, 31 May 2006 16:29:43 +0000 (16:29 +0000)]
see mailinglist

18 years ago$.fn.formValues;
Gilles van den Hoven [Wed, 31 May 2006 11:14:21 +0000 (11:14 +0000)]
$.fn.formValues;
Gets form values and creates a key=>value array of the found values.

What's new?
- Only does this for ENABLED elements.
- Keeps the same order of the form.
- Optionally adds the button which is clicked (marks that name with an 'x' in the list)

example: $('#frmLogin').formValues('oButton');

$.fn.update (PREVIOUSLY: $.update, so beware!!!!)
Calls sURL with sAction (method) and sends the aValues. Puts the results from that call in the jQuery object and calls fCallback if provided.

What's new?
- Renamed $.update to $.fn.update, since it is more obvious to call $('someJQueryObject').update(...) then $.update($('someJQueryObject'), ...). It's also more jQuery-ish
- Added the method you want to use, since i used post before, now you can select between either GET or POST.

example: $('someJQueryObject').update('sURL', 'sAction', 'aValues', 'fCallback');

$.fn.serialize
Calls the form's action with the correct method and the serialized values. Optionally adds the button which is clicked if you provide it. When there are results, the fCallback function is called.

What's new?
- The entire function

example: $('someForm').serialize('sButton', 'fCallback');

18 years ago-----
Gilles van den Hoven [Sat, 27 May 2006 10:18:18 +0000 (10:18 +0000)]
-----
fx.js
-----
added: $.fn.fadeTo
Also changed ' fx.Opacity ' function so $.fn.fadeTo works. For this i changed one line, and one parameter in $.fx.Opactity:
"o.io = o.now = 1;"
became:
"o.io = o.now = (sv || o.cur());"

e.g. if there is a start value use it. Else, the current value is used. All calls to "$.fx.Opactiy" which where present in the code have now "1" as third parameter so the code doesn't break.

---------
jquery.js
---------
Changed line 401 to fix ' name="id" ' bug:
'#': "a.id == m[2]"
to:
'#': "a.getAttribute('id') == m[2]"

18 years agoRewrote $.xml a bit, cause the loading message got stuck (didn't hide) after fast...
Gilles van den Hoven [Sat, 20 May 2006 09:46:41 +0000 (09:46 +0000)]
Rewrote $.xml a bit, cause the loading message got stuck (didn't hide) after fast ajax calls

18 years agoMade sure that $.event.handle() always has some form of an event object.
John Resig [Wed, 17 May 2006 18:48:23 +0000 (18:48 +0000)]
Made sure that $.event.handle() always has some form of an event object.

18 years agoFixed bug with $.attr(), it was attempting to set attribute even if you're attempting...
John Resig [Wed, 17 May 2006 18:46:51 +0000 (18:46 +0000)]
Fixed bug with $.attr(), it was attempting to set attribute even if you're attempting to access a value. This was due to the !== null fix.