aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed other nodeNode mistake, sigh.John Resig2009-12-071-1/+1
|
* Make sure that expando properties aren't set on embed, applet, or object ↵John Resig2009-12-061-1/+1
| | | | elements. An uncatchable exception is thrown and we must avoid it. Fixes #1675 and #2349.
* Use the getText utility function provided by Sizzle.John Resig2009-12-061-14/+1
|
* Added in support for injecting area elements into map elements. Fixes #4484.John Resig2009-12-061-0/+1
|
* Fix for #4011, crash when two text nodes are appended in IE.Dave Methvin2009-12-061-2/+3
|
* Make sure that the previous element is removed from the page before the next ↵jeresig2009-12-051-1/+11
| | | | is inserted, in replaceWith. Using a variation of the patch by snaury. Fixes #2697.
* Extracted the logic for copying events from one jQuery set to another, makes ↵jeresig2009-12-021-15/+20
| | | | it easier to work with disconnected DOM nodes.
* Fixed logic error in html method - support.leadingWhitespace shouldn't have ↵jeresig2009-12-021-1/+1
| | | | been negated.
* Added support for .text() on text nodes. Fixes #5525.John Resig2009-11-171-9/+11
|
* Fixed the case where HTML that contained entities was being inserted as text ↵John Resig2009-11-111-1/+1
| | | | strings instead of HTML. Thanks to dmethvin for the test case! Fixes #5483.
* Moved a bunch of methods out of the jQuery-specific Sizzle code into ↵John Resig2009-10-261-1/+1
| | | | more-appropriate files, in jQuery itself.
* Fixed the cleaning method to support namespaced elements. Thanks to einaros ↵John Resig2009-10-121-2/+2
| | | | for the patch recommendation. Fixes #5358.
* Adding in .unwrap() support, thanks to Ben Alman! Fixes #5191.John Resig2009-09-251-0/+8
|
* A follow-up to [6578] (which stopped adding expandos to elements that didn't ↵John Resig2009-09-251-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | have data). That broke jQuery.unique() (so we're now using the unique from Sizzle). Using Sizzle's unique (which also sorts in document order) changed how add, andSelf, parents, nextAll, prevAll, and siblings work. after and before were changed to not use .add() (in order to guarantee their position in the jQuery set). Also, jQuery.data(elem) was updated to return that element's data object (instead of its ID). $("<div/>").after("<span/>") => [ div, span ] (calling after on a disconnected DOM node adds the nodes to the end of the jQuery set) $("<div/>").before("<span/>") => [ span, div ] (calling before on a disconnected DOM node adds the nodes to the beginning of the jQuery set) $("div").add("span") => [ div, span, span, div, span ] (results now come out in document order) $("div").find("code").andSelf(); => [ div, code, code ] (results now come out in document order) Same goes for .parents(), .nextAll(), .prevAll(), and .siblings(). Exception: .parents() will still return the results in reverse document order. jQuery.data(elem) => { object of data } (no longer returns the unique ID assigned to the node)
* Adding some fixes for commit [6537]. If there's leading whitespace, or if an ↵John Resig2009-09-151-6/+12
| | | | exception is thrown by innerHTML, we need to use the old style method.
* Fix for SVN rev [6537]. Events weren't being unbound correctly in Internet ↵John Resig2009-09-151-3/+2
| | | | Explorer (cleanData wasn't handling malformed NodeList results correctly).
* Another fix for [6537] - make sure that .innerHTML isn't used on non-HTML ↵John Resig2009-09-141-2/+2
| | | | documents and that we only attempt to use .innerHTML on DOM Elements.
* Fixed a bug introduced in SVN rev [6537] that caused XML-based fragment ↵John Resig2009-09-141-2/+6
| | | | creation to fail, in IE.
* Added support for .before(), .after(), and .replaceWith() on disconnected ↵John Resig2009-09-141-7/+25
| | | | DOM nodes. Fixes bug #3940.
* jquery core: Fixed #5202. Fixing selector generation when a manipulation ↵Ariel Flesler2009-09-141-2/+1
| | | | function receives a jQuery object.
* Broke the logic for .clean() wrap out into a separate, static, data ↵John Resig2009-09-071-37/+48
| | | | structure. Also improved the performance of .html() looking for the case where .innerHTML can be used without problems. Also tweaked some cases where cleanData() was used, no need to use jQuery selectors in these cases.
* Split out the fragment-building code from domManip. Switched core.js to ↵John Resig2009-09-071-39/+40
| | | | using that instead. Also moved the standalone tag detection to $(...) for performance.
* Tweaked the detach addition in commit [6474].John Resig2009-07-211-5/+7
|
* Adds detach()Yehuda Katz2009-07-211-7/+10
|
* Removing extraneous closing ). Fix for [6463].John Resig2009-07-191-1/+1
|
* Move cases of .replace(re, Function) out from inline (to avoid being ↵John Resig2009-07-191-6/+7
| | | | redeclared on every use). Fixes #4114.
* Fixed typo in commit #6461.John Resig2009-07-191-2/+2
|
* Made more formatting changes to manipulation.js. Also moved all inline ↵John Resig2009-07-191-14/+27
| | | | RegExp into a top declaration.
* Tweaked formatting of src/manipulation.js.John Resig2009-07-191-28/+40
|
* Standardizing on .test() and .exec() - moving away from using .match() for ↵John Resig2009-07-191-3/+3
| | | | RegExp. Fixes jQuery bug #4113.
* We only support wrapping the first element around an element (all others are ↵John Resig2009-07-141-1/+1
| | | | ignored). Fixes ticket #4903.
* Fixed wrapping of elements that hold text nodes. Thanks to David Flanagan ↵John Resig2009-07-141-1/+1
| | | | for the patch. Fixes #4902.
* Add tests for replaceAll(fn) and wrap(fn) -- mark wrapAll and wrapWithin as TODOYehuda Katz2009-07-121-0/+4
|
* Support for .foo(Function) and testing. TODO: More testsYehuda Katz2009-07-121-0/+8
|
* IE doesn't seem to like caching fragments that have options in them. Ticket ↵John Resig2009-07-111-1/+1
| | | | #4883.
* Limit domManip caching to strings < 512 characters long. Ticket #4883.John Resig2009-07-111-1/+1
|
* Added caching to domManip. Fixes #4883.John Resig2009-07-111-9/+42
|
* fix remove and empty to work properly in IE when an element with the id of ↵Brandon Aaron2009-05-161-3/+2
| | | | length exists. fixes ajax event hanlders in test suite from firing multiple times because they did not get cleaned up.
* remove trailing spacesBrandon Aaron2009-03-231-4/+4
|
* moving some vars from manipulations.js to attributes.jsBrandon Aaron2009-03-221-5/+0
|
* breaking jquery out into smaller modules. added attributes.js, ↵Brandon Aaron2009-03-181-0/+350
manipulation.js, and traversing.js