If this html code is as long as 300 lines. You have to write codes without space. But any Code Editor gives space between of tags. And I have to delete all space. Is there any solution for it?
$("body").append($("<div id='dzndiv'><div style='position:absolute;left:0px;top:0px;width:100%;height:800px;'>
<img src='img/transparent.png' width='100%' height='100%'/></div></div>"));
It is not true but solution example like this or equal?:
$("body").append($.load("longstuff.html"));
Actually pretty close 😉
Try
or better create a div somewhere and do
or have a look at
http://api.jquery.com/load/