Commit Graph

2655 Commits

Author SHA1 Message Date
John Resig
4b6bcb235f Fixed another bug with retreiving elements by ID. 2006-06-11 18:27:31 +00:00
John Resig
b5256caee6 Fixed an issue with #id expression parsing, an issue with formatting, and removed the try{} block from around event firings. 2006-06-11 18:12:46 +00:00
John Resig
a457262ef5 Found the bug that was killing slideUp/slideDown. 2006-06-11 01:16:36 +00:00
Michael Geary
b788be7cb9 Removing test file from previous commit 2006-06-10 19:05:14 +00:00
Michael Geary
79bc371da6 Test commit to see if it works from geary.jquery.com 2006-06-10 19:04:08 +00:00
Gilles van den Hoven
6596108635 changed $.execute back to eval() 2006-06-09 15:36:06 +00:00
Gilles van den Hoven
66f124a658 BAT file to build the jquery SVN into 1 file, for easy debugging. 2006-06-09 15:31:09 +00:00
Gilles van den Hoven
50cdc997b8 removed $.fn.changer by Marc's request and changed back the responseText in $.xml 2006-06-09 14:49:09 +00:00
Gilles van den Hoven
6656522705 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()
2006-06-08 17:31:57 +00:00
Gilles van den Hoven
69ae9aeab0 name == id bug, second attempt 2006-06-06 12:51:44 +00:00
John Resig
6e69be6687 Removed unnecessary instances of === or !==. 2006-06-05 16:19:03 +00:00
Gilles van den Hoven
b52b19ac4a $.eval bug ==> added ==> || "" 2006-06-03 13:49:25 +00:00
Gilles van den Hoven
65b1081e9e little bug in $.fx.fadeTo 2006-06-03 12:48:19 +00:00
Gilles van den Hoven
330867ac2f Some errors in the formvalues() function 2006-06-02 14:27:25 +00:00
Gilles van den Hoven
4a36d00466 2006-06-01 16:40:37 +00:00
Gilles van den Hoven
5ee555c9f0 see mailinglist 2006-05-31 16:29:43 +00:00
Gilles van den Hoven
d7856eb24b $.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');
2006-05-31 11:14:21 +00:00
Gilles van den Hoven
497bfb7909 -----
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]"
2006-05-27 10:18:18 +00:00
Gilles van den Hoven
d8bad24d34 Rewrote $.xml a bit, cause the loading message got stuck (didn't hide) after fast ajax calls 2006-05-20 09:46:41 +00:00
John Resig
81fda970ff Made sure that $.event.handle() always has some form of an event object. 2006-05-17 18:48:23 +00:00
John Resig
c75701a015 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. 2006-05-17 18:46:51 +00:00
John Resig
3386923dcc Fixed some bugs in the serialization code, it seems to work now. 2006-05-17 18:04:46 +00:00
Gilles van den Hoven
f1c8b3ffc0 Fixxed the form serialize function as seen on the mailing list. 2006-05-17 16:01:19 +00:00
John Resig
956529c7be Added some final global variable tweaks - no more namespace leaking! 2006-05-17 03:55:50 +00:00
John Resig
4986837802 Not only does it pass the default JSLint settings, it also no longer leaks *any* global variables! 2006-05-17 02:42:03 +00:00
John Resig
2a6b0ee7c8 Fixed two quick bugs from the JSLint overhaul. 2006-05-16 22:32:15 +00:00
John Resig
d71a85001b jQuery is now JSLint (jslint.com) compatible, save for the eval stuff. Can't there b
e legitamite uses for eval?
2006-05-16 22:15:05 +00:00
Gilles van den Hoven
329d1a3bb2 forgot to remove the old serialize function 2006-05-16 16:21:20 +00:00
Gilles van den Hoven
6e4f0ce05e Added my bugfixes and removed the triggerAjax and handleAjax functions since they are no longer needed afaik :) 2006-05-16 16:18:52 +00:00
John Resig
5f62b671a3 Safari has problems with throw? Commented out for now... 2006-05-12 16:52:18 +00:00
Gilles van den Hoven
4233896e9d Quick test. 2006-05-11 05:50:06 +00:00
John Resig
facb2324f9 Aieeeeee!! removeClass bug fixed. I'm so dumb. 2006-05-02 19:03:07 +00:00
John Resig
0ababc8fea Updated licensing info. 2006-04-22 06:24:10 +00:00
John Resig
cd297dd9eb Extra spaces weren't being removed with removeClass - but I haven't found a good workaround yet. 2006-04-10 06:09:16 +00:00
John Resig
904b1c337e Made it so that the height/width auto is only called when 'show' is executed. 2006-04-10 06:03:28 +00:00
John Resig
40fdf0ad5c Started work on new attr plugin - will provide a ton of accessors for common styles and attributes. 2006-04-09 04:04:52 +00:00
John Resig
4ab5a88bc4 $().css("foo") now returns the value of $.css("foo") instead of setting to null. 2006-04-09 04:03:36 +00:00
John Resig
56992c6ad9 Added fix to stop height/width of auto from occurring when only opacity was being modified. 2006-04-08 06:34:04 +00:00
John Resig
fc26b57ace Added in handling for DOMContentLoaded for Mozilla and window.onload, just in case. 2006-04-08 06:28:40 +00:00
John Resig
e3828d1a48 Updated core code to mirror what's in the web version of latest. 2006-04-06 05:37:08 +00:00
John Resig
648f08330b Added Ian Eure's (atomized.org) Drag and Drop code to the repository, for further testing. 2006-03-27 07:19:25 +00:00
John Resig
a027d25f83 Added Ian Eure's (atomized.org) Drag and Drop code to the repository, for further testing. 2006-03-27 07:19:23 +00:00
John Resig
11e82e95b6 Added checks to triggerEvent for optional data and element verification. Uses $.apply() now, too. 2006-03-27 07:09:28 +00:00
John Resig
b9e0b6ff37 Added support for global AJAX callbacks and Form Serialization. 2006-03-27 07:08:32 +00:00
John Resig
c206df28db Fixed a bug with append and Prototype 1.5 (via Audun). 2006-03-23 22:29:02 +00:00
John Resig
f0034d64e3 Fixed more formatting/tab problems. 2006-03-23 21:13:20 +00:00
John Resig
130b8a1c03 I've begun the long process of fixing the messed up tab/spaces. 2006-03-23 20:55:47 +00:00
John Resig
193866de0a 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.
2006-03-22 21:01:00 +00:00
John Resig
37394df837 Added svn:keywords to jQuery core. 2006-03-22 19:52:26 +00:00
John Resig
aee5a0fe70 Added versioning info into the jQuery core. 2006-03-22 19:49:50 +00:00