Commit graph

33 commits

Author SHA1 Message Date
John Resig b4e23b5af0 Reorganzing the jQuery source (first phase). 2007-09-08 12:42:32 +00:00
John Resig f96bf10415 Integration of Mike Alsup's excellent form serialization code. The benefits are as follows:
- New method: .serializeArray()
This returns an array of name/value pairs representing the contents of a form, or individual input elements.
- Enhancement: .serialize()
The results are correct now (as opposed to the mess from before), and allows you to serializes forms directly (rather than just the input elements).
- Enhancement: .val()
This now returns the correct value when dealing wih selects. Additionally, when dealing with multiple selects, it returns an array of values.

Based upon Mike's code:
http://malsup.com/jquery/form/comp/form.js

and test suite:
http://malsup.com/jquery/form/comp/test.html
2007-09-05 17:06:05 +00:00
John Resig 53dc6afc31 Removed all deprecated functionality for jQuery 1.2. A full list of what was removed can be found here: http://jquery.com/blog/2007/08/24/jquery-114-faster-more-tests-ready-for-12/ 2007-09-04 02:55:38 +00:00
John Resig 346ceacce3 Added support for a new :header psuedo-selector (only selects H1-H6 elements). 2007-08-31 05:43:24 +00:00
John Resig 127c0b8a5d Fixed the issue where $("body").find("div#foo") would ignore the specified tag name. (Bug #1543) 2007-08-27 04:58:02 +00:00
John Resig 46e770352a Added the new :has() selector (Bug #1521) 2007-08-21 07:33:52 +00:00
John Resig 24db022ba0 Added a fix for IE returning comment nodes in * queries. I put the logic in $.merge() but added a conditional such that the speed hit only effects IE users. (Bug #1155) 2007-08-19 07:28:41 +00:00
John Resig 660490e6f4 The test for underscore selectors broke under Opera, so the element is now loaded via Ajax and tested. (bug #1084) 2007-07-30 02:52:24 +00:00
John Resig 80a149b828 Integrated the custom fx test suite into the main test suite. All tests are now run automatically. Removed the old suite, as it was no longer needed. 2007-07-29 19:07:21 +00:00
John Resig bdf05d890f Added a fix for relative // - $("//div",this) (bug #1418) 2007-07-25 00:39:45 +00:00
John Resig 614706bbf2 Added extra last-child test. 2007-06-29 20:26:14 +00:00
Brandon Aaron 7c6100f5ed Fix for #1169 2007-05-13 17:20:03 +00:00
John Resig 7fa12b412b Rev [1827] broke the two XPath sibling selectors. 2007-05-01 21:36:01 +00:00
John Resig c512984303 We're not adding new selector features in until a new full release. Please discuss features like this in the dev mailing list, and in the bug tracker, before committing code. 2007-05-01 21:31:26 +00:00
Corey Jewett 2e448273f5 TDD. Broken test case, need to fix xpath parser... 2007-04-30 17:31:51 +00:00
John Resig e95a6cc746 Forgot to remove the test cases for XPath [n]. (Ticket #995) 2007-04-28 15:45:38 +00:00
John Resig fce2bdf7ff Added support for finding elements that have underscores in their name (along with other allowed characters). Fix for ticket #1084. 2007-04-28 15:39:30 +00:00
Corey Jewett 2fac5e7949 Add RegExp style xpath attributes and testcases. e.g. [@foo =~ /bar/i] and [@foo !~ /bar/] 2007-04-13 17:48:04 +00:00
John Resig 9c7f8ba90e Fixed some more bugs with the test suite, made some minor file size tweaks to the selector code. 2007-03-25 19:02:31 +00:00
John Resig d7a8794eb5 Cleaned up a lot of the test suite - reorganized and renamed tests. Added a new triggerEvent() method to the test runner to help us better test actual event interactions. 2007-03-25 18:06:18 +00:00
Jörn Zaefferer 4e7c9b08a0 Added test for #945 2007-03-25 11:52:53 +00:00
John Resig 25b424134f 2007-03-25 02:45:12 +00:00
John Resig ae208246fb Added support for escaping selectors in ID and Classname queries (#143). You need to be sure to double-escape selectors, though, as JavaScript requires it to get the right effect. 2007-03-25 02:04:03 +00:00
John Resig af79bb1f25 Added UTF8 Selector support (#1001) and fixed infinite selector loops (#1025). You can now select elements by UTF8-based IDs, classes, and attributes. 2007-03-25 00:58:19 +00:00
John Resig 0f7c89cd97 Added a fix and test for bug #978 (Appending elements into an IFrame, in IE). 2007-03-24 02:03:47 +00:00
Brandon Aaron 44599e174b * Fixed IE ID selectors selecting by the name attribute and added tests
* Added href attribute test to test suite
* Updated Changelog
2007-02-23 02:53:22 +00:00
John Resig 4259b02c99 Added a test case for bug #986. 2007-02-22 21:54:56 +00:00
Jörn Zaefferer 4e256bffa3 Added test for #891 2007-01-31 21:25:58 +00:00
Jörn Zaefferer c60d4519bc Added test for #895 2007-01-31 21:19:35 +00:00
Jörn Zaefferer 955fdb87a7 Fixed test for object/param selection (thanks Andrea) 2007-01-07 10:26:58 +00:00
Jörn Zaefferer e0c7e6aec4 Updated test for #750 2007-01-03 20:48:40 +00:00
Jörn Zaefferer 02483b4a59 Added assertions for #750 2007-01-03 16:03:16 +00:00
John Resig 61504d516a Moved all the expressions tests over into selector area, out of the main suite. 2006-12-31 18:09:05 +00:00