How do I access the original element from the jQuery wrapper

Viewed 11684

Assuming I have this:

var wrap = $("#someId");

I need to access the original object that I would get by

var orig = document.getElementById("someId");

But I don't want to do a document.getElementById.

Is there something I can use on wrap to get it? something like:

var orig = wrap.original();

I searched high and low but I didn't find anything; or maybe I'm not looking for the right thing.

5 Answers
Related