Is there an option to append an entire HTML code to a variable without using plus operand, each line in a new line or without using push into array.
I want to be able to be to copy paste the code between single quote with the new lines so it will be easier to edit. My first thought is to copy the code into an external file, but I am not sure how to retrieve it in such a way that it will work.
var html = '<div>
<div>
some text
</div>
</div>';
Another option I thought about, which seem a good one, is to just copy the HTML in jQuery and copy it into another DIV.
This doesn't work. I am open to 3rd party solution, not just that of the native language. Thanks.