mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
3a4e1233aa
Plugins will be most interested in: - jQuery.data(elem) -> Unique ID for the element - jQuery.data(elem, name) -> Named data store for the element - jQuery.data(elem, name, value) -> Saves a value to the named data store - jQuery.removeData(elem) -> Remove the expando and the complete data store - jQuery.removeData(elem, name) -> Removes just this one named data store jQuery's .remove() and .empty() automatically clean up after themselves. Once an element leaves a DOM document their events are no longer intact. Thus, statements like so: {{{ $("#foo").remove().appendTo("#bar"); }}} should be written like so: {{{ $("#foo").appendTo("#bar"); }}} in order to avoid losing the bound events. |
||
---|---|---|
.. | ||
cow.jpg | ||
dashboard.xml | ||
json_obj.js | ||
json.php | ||
jsonp.php | ||
name.html | ||
name.php | ||
test2.html | ||
test3.html | ||
test.html | ||
test.js | ||
test.php | ||
testrunner.js | ||
testsuite.css | ||
text.php | ||
with_fries.xml |