SyntaxFix
Write A Post
Hire A Developer
Questions
You can use
var modal_template_html = $.trim($('#modal_template').html()); var template = $(modal_template_html);