jQuery context Property
Example
Check the context:
$
(
"
div
"
)
.
append
(
"
"
- $
(
"
div
"
)
.
context
"
"
)
.
append
(
"
"
- $
(
"
div
"
,
document
.
body
)
.
context
.
nodeName
"
"
)
;
Try it »
Definition and Usage
The context property was deprecated in jQuery version 1.10.
The context property contains the original context passed to jQuery, which may be a DOM node context, or the document context if no node was passed.
Syntax
context
jQuery Properties