jQuery noob here, so I apologize in advance if this question has been asked before.
My situation is this: I have a string of HTML that I've extracted from my document and passed into jQuery to manipulate as such:
var pageEl = document.getElementById("ElementId");
var contentToProcess = pageEl.innerHTML;
// pre-process contentToProcess...
var jQueryContent = $(contentToProcess);
// process elements using jQuery methods
Now, I've completed the processing that I wanted to do using jQuery and I need to extract the processed content from the jQueryContent object. How do I do this?
There was a helpful post on stackoverflow, but the solution that they outlined isn't working. Does anyone else have any experience with this?