How do I access the core HTML DOM element from a JQuery Selector?
For example, the following code:
$(document.body).appendChild(x);
will not work because the DOM object that $(document.body)
is referring to is wrapped around by a JQuery Selector Object.
(Please don't suggest that I can use jQuery's append()
instead, it's just for an example)