html() Not Registering New Elements In the DOM
This may be a repeat post, but I can't seem to find the answer in these forums. Here is the question:
I have a div with id "someDiv". I am obtaining an HTML string via XHR and intend to insert it in the DIV. I use .html(theHtmlString) and it renders just fine. But the newly inserted elements are not in the DOM - either by name or id. How do I register them in jQuery?