This function also accepts XML Documents and Window objects as valid arguments (even though they are not DOM Elements).
Element, Array elements : DOM element(s) to be encapsulated by a jQuery object
Example:
Element, Array
Example:
Sets the background color of the page to black.
$(document.body).css( "background", "black" );
Example:
Hides all the input elements within a form. $(myForm.elements).hide()
No comments:
Post a Comment