HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

jQuery context Property

jQuery Properties jQuery Properties

Example

Determine the context:

$("div").append("<p>" + $("div").context + "</p>")
.append("<p>" + $("div",document.body).context.nodeName + "</p>");

Try it yourself »

Definition and Usage

The context property was deprecated in jQuery version 1.10.

The context property contains the original context passed to jQuery, which could be a DOM node context, or, if no node is passed, the document context.


Syntax

context


jQuery Properties jQuery Properties


Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE