Answer the question
In order to leave comments, you need to log in
jQuery how to correctly insert nested tags?
Trying to dynamically create a page
var form = $("<form></form>");
var row = $("<div></div>").addClass("row");
var col = $("<div></div>").addClass("col");
form.append(row).append(col).append("TEST")
<form>
<div class="row"></div>
<div class="col"></div>
TEST
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question