"jQuery get html"
It seems like you're asking how to get the HTML rendering of the element.
If so, do this:
var markup = $("#obj1")[0].outerHTML;
Or using .prop()
:
var markup = $("#obj1").prop("outerHTML");
Or without jQuery:
var markup = document.getElementById("obj1").outerHTML;