I have form in my ASP.NET masterPage.master and if i click on submit it call some method from masterPage.master.cs file by ajax (i have it in update panel). But i want improve i
All the answers are valid.
Another way:
HTML
JQuery
$('#container').append("");
Or:
$('#container').append(createDiv('id', 'class')); var createDiv = function(newid, newclass) { return $('', { id: newid, class: newclass, css:{ width: "100px", height: "100px" } }); }