summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Gilles van den Hoven [Wed, 31 May 2006 16:29:43 +0000 (16:29 +0000)]
see mailinglist
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');
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]"
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
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.
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.
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.
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.
John Resig [Wed, 17 May 2006 03:55:50 +0000 (03:55 +0000)]
Added some final global variable tweaks - no more namespace leaking!
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!
John Resig [Tue, 16 May 2006 22:32:15 +0000 (22:32 +0000)]
Fixed two quick bugs from the JSLint overhaul.
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?
Gilles van den Hoven [Tue, 16 May 2006 16:21:20 +0000 (16:21 +0000)]
forgot to remove the old serialize function
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 :)
John Resig [Fri, 12 May 2006 16:52:18 +0000 (16:52 +0000)]
Safari has problems with throw? Commented out for now...
Gilles van den Hoven [Thu, 11 May 2006 05:50:06 +0000 (05:50 +0000)]
Quick test.
John Resig [Tue, 2 May 2006 19:03:07 +0000 (19:03 +0000)]
Aieeeeee!! removeClass bug fixed. I'm so dumb.
John Resig [Sat, 22 Apr 2006 06:24:10 +0000 (06:24 +0000)]
Updated licensing info.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
John Resig [Mon, 27 Mar 2006 07:08:32 +0000 (07:08 +0000)]
Added support for global AJAX callbacks and Form Serialization.
John Resig [Thu, 23 Mar 2006 22:29:02 +0000 (22:29 +0000)]
Fixed a bug with append and Prototype 1.5 (via Audun).
John Resig [Thu, 23 Mar 2006 21:13:20 +0000 (21:13 +0000)]
Fixed more formatting/tab problems.
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.
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.
John Resig [Wed, 22 Mar 2006 19:52:26 +0000 (19:52 +0000)]
Added svn:keywords to jQuery core.
John Resig [Wed, 22 Mar 2006 19:49:50 +0000 (19:49 +0000)]
Added versioning info into the jQuery core.
John Resig [Wed, 22 Mar 2006 16:16:06 +0000 (16:16 +0000)]
And again for the core JS file.
John Resig [Wed, 22 Mar 2006 16:15:42 +0000 (16:15 +0000)]
Renamed the jQuery Core to simply jquery.
John Resig [Wed, 22 Mar 2006 16:08:59 +0000 (16:08 +0000)]
Nuked the browse directory - has been moved to web.
John Resig [Wed, 22 Mar 2006 03:36:03 +0000 (03:36 +0000)]
Added brief comment.
John Resig [Wed, 22 Mar 2006 03:33:07 +0000 (03:33 +0000)]
Inital Import.