I have a textarea and a resume/CV sample template on document.
On button event that template's HTML is the value of textarea.
I am doing it as below-
$(function(){
$('#select-sample').click(function(){
var sample=$('.ok').html();
$('.summernote').val(sample);
});
});
This is just a simple copy thing is happening in textarea, I am picking up an HTML of template and copying it into textarea.
My question-
How do I render that HTML template in textarea as it is rendered in document. I don't want rendered HTML.
Why won't Textarea render this HTML template when all related css classes are attached within document itself?