var newDiv = $(document.createElement('div')).attr("id", 'my' + num + 'Div'); newDiv.append().html('<input type="text" name="TextBox' + num + '" value="TextBox' + num + '" >'); newDiv.appendTo("#Div1");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)