I'm not quite sure how to describe, or search for, my question in
existing discussions.  I apologize in advance for my lack of search
savvy.

I understand that you can take an ordinary DOM object and create a
jQuery reference out of it:

var myDOMObject = document.myform.mytextfield;
var myJQueryRef = $(myDOMObject);
var myHtml = myJQueryRef.html();

I know, I can chain.  But for the sake of this example, I won't.

Is there a way to do the opposite?  An imaginary method could be:

var extractedDOMObject = myJQueryRef.extractObject();
var myHtml2 = extractedDOMObject.innerHTML;

What might be used to replace the imaginary extractObject() method?

Thanks,
Jerome.


Reply via email to