Jquery – Update Content of Div Preserving HTML Markup
I'd like to take the content of a textarea and copy it inside a div element, preserving the html markup. When I get the content of the textarea with jQuery using .val() and log it in the console it shows…