jquery.git
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.

18 years agoFixed some bugs in the serialization code, it seems to work now.
John Resig [Wed, 17 May 2006 18:04:46 +0000 (18:04 +0000)]
Fixed some bugs in the serialization code, it seems to work now.

18 years agoFixxed the form serialize function as seen on the mailing list.
Gilles van den Hoven [Wed, 17 May 2006 16:01:19 +0000 (16:01 +0000)]
Fixxed the form serialize function as seen on the mailing list.

18 years agoAdded some final global variable tweaks - no more namespace leaking!
John Resig [Wed, 17 May 2006 03:55:50 +0000 (03:55 +0000)]
Added some final global variable tweaks - no more namespace leaking!

18 years agoNot only does it pass the default JSLint settings, it also no longer leaks *any*...
John Resig [Wed, 17 May 2006 02:42:03 +0000 (02:42 +0000)]
Not only does it pass the default JSLint settings, it also no longer leaks *any* global variables!

18 years agoFixed two quick bugs from the JSLint overhaul.
John Resig [Tue, 16 May 2006 22:32:15 +0000 (22:32 +0000)]
Fixed two quick bugs from the JSLint overhaul.

18 years agojQuery is now JSLint (jslint.com) compatible, save for the eval stuff. Can't there b
John Resig [Tue, 16 May 2006 22:15:05 +0000 (22:15 +0000)]
jQuery is now JSLint (jslint.com) compatible, save for the eval stuff. Can't there b
e legitamite uses for eval?

18 years agoforgot to remove the old serialize function
Gilles van den Hoven [Tue, 16 May 2006 16:21:20 +0000 (16:21 +0000)]
forgot to remove the old serialize function

18 years agoAdded my bugfixes and removed the triggerAjax and handleAjax functions since they...
Gilles van den Hoven [Tue, 16 May 2006 16:18:52 +0000 (16:18 +0000)]
Added my bugfixes and removed the triggerAjax and handleAjax functions since they are no longer needed afaik :)

18 years agoSafari has problems with throw? Commented out for now...
John Resig [Fri, 12 May 2006 16:52:18 +0000 (16:52 +0000)]
Safari has problems with throw? Commented out for now...

18 years agoQuick test.
Gilles van den Hoven [Thu, 11 May 2006 05:50:06 +0000 (05:50 +0000)]
Quick test.

18 years agoAieeeeee!! removeClass bug fixed. I'm so dumb.
John Resig [Tue, 2 May 2006 19:03:07 +0000 (19:03 +0000)]
Aieeeeee!! removeClass bug fixed. I'm so dumb.

18 years agoUpdated licensing info.
John Resig [Sat, 22 Apr 2006 06:24:10 +0000 (06:24 +0000)]
Updated licensing info.

18 years agoExtra spaces weren't being removed with removeClass - but I haven't found a good...
John Resig [Mon, 10 Apr 2006 06:09:16 +0000 (06:09 +0000)]
Extra spaces weren't being removed with removeClass - but I haven't found a good workaround yet.

18 years agoMade it so that the height/width auto is only called when 'show' is executed.
John Resig [Mon, 10 Apr 2006 06:03:28 +0000 (06:03 +0000)]
Made it so that the height/width auto is only called when 'show' is executed.

18 years agoStarted work on new attr plugin - will provide a ton of accessors for common styles...
John Resig [Sun, 9 Apr 2006 04:04:52 +0000 (04:04 +0000)]
Started work on new attr plugin - will provide a ton of accessors for common styles and attributes.

18 years ago$().css("foo") now returns the value of $.css("foo") instead of setting to null.
John Resig [Sun, 9 Apr 2006 04:03:36 +0000 (04:03 +0000)]
$().css("foo") now returns the value of $.css("foo") instead of setting to null.

18 years agoAdded fix to stop height/width of auto from occurring when only opacity was being...
John Resig [Sat, 8 Apr 2006 06:34:04 +0000 (06:34 +0000)]
Added fix to stop height/width of auto from occurring when only opacity was being modified.

18 years agoAdded in handling for DOMContentLoaded for Mozilla and window.onload, just in case.
John Resig [Sat, 8 Apr 2006 06:28:40 +0000 (06:28 +0000)]
Added in handling for DOMContentLoaded for Mozilla and window.onload, just in case.

18 years agoUpdated core code to mirror what's in the web version of latest.
John Resig [Thu, 6 Apr 2006 05:37:08 +0000 (05:37 +0000)]
Updated core code to mirror what's in the web version of latest.

18 years agoAdded Ian Eure's (atomized.org) Drag and Drop code to the repository, for further...
John Resig [Mon, 27 Mar 2006 07:19:25 +0000 (07:19 +0000)]
Added Ian Eure's (atomized.org) Drag and Drop code to the repository, for further testing.

18 years agoAdded Ian Eure's (atomized.org) Drag and Drop code to the repository, for further...
John Resig [Mon, 27 Mar 2006 07:19:23 +0000 (07:19 +0000)]
Added Ian Eure's (atomized.org) Drag and Drop code to the repository, for further testing.

18 years agoAdded checks to triggerEvent for optional data and element verification. Uses $.apply...
John Resig [Mon, 27 Mar 2006 07:09:28 +0000 (07:09 +0000)]
Added checks to triggerEvent for optional data and element verification. Uses $.apply() now, too.

18 years agoAdded support for global AJAX callbacks and Form Serialization.
John Resig [Mon, 27 Mar 2006 07:08:32 +0000 (07:08 +0000)]
Added support for global AJAX callbacks and Form Serialization.

18 years agoFixed a bug with append and Prototype 1.5 (via Audun).
John Resig [Thu, 23 Mar 2006 22:29:02 +0000 (22:29 +0000)]
Fixed a bug with append and Prototype 1.5 (via Audun).

18 years agoFixed more formatting/tab problems.
John Resig [Thu, 23 Mar 2006 21:13:20 +0000 (21:13 +0000)]
Fixed more formatting/tab problems.

18 years agoI've begun the long process of fixing the messed up tab/spaces.
John Resig [Thu, 23 Mar 2006 20:55:47 +0000 (20:55 +0000)]
I've begun the long process of fixing the messed up tab/spaces.

18 years agoAdded new parents, parent and siblings functions.
John Resig [Wed, 22 Mar 2006 21:01:00 +0000 (21:01 +0000)]
Added new parents, parent and siblings functions.
Siblings function still needs some work.
It would be nice to have an optional -or-self argument too.

18 years agoAdded svn:keywords to jQuery core.
John Resig [Wed, 22 Mar 2006 19:52:26 +0000 (19:52 +0000)]
Added svn:keywords to jQuery core.

18 years agoAdded versioning info into the jQuery core.
John Resig [Wed, 22 Mar 2006 19:49:50 +0000 (19:49 +0000)]
Added versioning info into the jQuery core.

18 years agoAnd again for the core JS file.
John Resig [Wed, 22 Mar 2006 16:16:06 +0000 (16:16 +0000)]
And again for the core JS file.

18 years agoRenamed the jQuery Core to simply jquery.
John Resig [Wed, 22 Mar 2006 16:15:42 +0000 (16:15 +0000)]
Renamed the jQuery Core to simply jquery.

18 years agoNuked the browse directory - has been moved to web.
John Resig [Wed, 22 Mar 2006 16:08:59 +0000 (16:08 +0000)]
Nuked the browse directory - has been moved to web.

18 years agoAdded brief comment.
John Resig [Wed, 22 Mar 2006 03:36:03 +0000 (03:36 +0000)]
Added brief comment.

18 years agoInital Import.
John Resig [Wed, 22 Mar 2006 03:33:07 +0000 (03:33 +0000)]
Inital Import.