Commit Graph

2138 Commits

Author SHA1 Message Date
John Resig
37c237af35 I've cleaned up and documented the events plugin, it's close to being ready for 1.0. 2006-06-19 00:12:14 +00:00
John Resig
7dd68a0811 Started the form plugin, moving stuff from AJAX over to it. 2006-06-18 23:34:09 +00:00
John Resig
5c7551e318 Fixed the double-firing IE bug. (Ticket #13) 2006-06-18 01:50:12 +00:00
John Resig
c43e1e379d Improved the robustness of the response codes based upon what's in Dojo. (Ticket #14) 2006-06-18 01:42:41 +00:00
John Resig
8f52a2e0e9 Operation "Remove JSLint Changes" has begun. 2006-06-18 01:29:53 +00:00
John Resig
d143f76973 Changed border stuff to borderTopWidth (Ticket #9) 2006-06-18 01:23:08 +00:00
Gilles van den Hoven
d584a884b6 $.getCSS (see bug #11) 2006-06-17 09:10:45 +00:00
Stefan Petre
8ad487f219 Test commit. 2006-06-16 14:23:33 +00:00
John Resig
9b7bbc619b 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) 2006-06-16 04:23:30 +00:00
John Resig
66bd98be22 Added onSuccess and onError callbacks for the $.xml() function. 2006-06-16 02:43:04 +00:00
John Resig
7ebe209b32 Fixed not being able to set the disabled value of an element using .attr(). Ticket #8 2006-06-16 02:25:10 +00:00
John Resig
7eb6a25d5e Fixed issues with @* and @foo selectors. Ticket #2 2006-06-16 02:18:04 +00:00
John Resig
4c572bdf56 IE is now forced layout if it doesn't have it (such that opacity now works as expected). (Ticket #4). 2006-06-16 02:01:39 +00:00
John Resig
aabfccf371 Added Klaus' fix for accidental DOM node catches (Ticket #3). 2006-06-16 01:51:15 +00:00
John Resig
44590a5d84 You can now append and prepend into a table that doesn't have a tbody. 2006-06-16 00:45:02 +00:00
John Resig
cb3eada739 It's now possible to add <td>s and <th>s to a table, using only HTML. 2006-06-16 00:33:55 +00:00
John Resig
894fc4b280 Removed recent cssText addition, doesn't work as expected. 2006-06-16 00:22:00 +00:00
John Resig
598fcca346 Added some of the fixes discussed over at Dean's blog, concerning DOM Ready. 2006-06-16 00:19:47 +00:00
John Resig
9e27d8d1b4 Changed the window.location hack to be more specific (and documented). 2006-06-16 00:18:15 +00:00
John Resig
d9b1d3436a $.css() now accounts for borders in addition to padding when calculating the height/width of an element. 2006-06-16 00:09:51 +00:00
John Resig
a70ab6564b Added checks for the box model. 2006-06-16 00:05:56 +00:00
John Resig
34dd8afb25 Fake trigger events now get passed through $.event.fix() first, to give them an extra layer of authenticity. 2006-06-16 00:02:54 +00:00
Gilles van den Hoven
f9dbb9f73a changed ID selector code 2006-06-15 10:02:37 +00:00
John Resig
268c82a903 FX Queueing added. Effects no longer mess up causing weird results. 2006-06-15 04:48:52 +00:00
John Resig
807c75dadf Cleaned up the fx() function and fixed the height/width 'auto' bug. 2006-06-15 03:11:35 +00:00
John Resig
dea1925049 Fixed height/width issues that happend due to the box model, in $.css(). 2006-06-15 02:27:18 +00:00
John Resig
ba7ebaf70b 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. 2006-06-14 20:05:06 +00:00
John Resig
25f5af1bcb Reverted back a $.tag change. 2006-06-14 17:31:09 +00:00
John Resig
55370e5710 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. 2006-06-13 04:12:06 +00:00
John Resig
582075e965 Added Mike Alsup's style/cssText fix and made a quick typeof change. 2006-06-13 04:09:56 +00:00
John Resig
83c7532161 Fixed appending rows to a table. 2006-06-13 02:20:15 +00:00
John Resig
5139bfbec8 Added UNIX build script. 2006-06-11 21:24:14 +00:00
John Resig
08bb08fede 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. 2006-06-11 18:59:45 +00:00
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