Showing posts with label jquery. Show all posts
Showing posts with label jquery. Show all posts

Tuesday, November 12, 2013

Adding Dynamic controls using jquery in Asp.net

$(function(){
$("#btnAdd").click(function(){
 var DynamictextBox=$('<input/>').attr({ type : 'text', name: 'text' , value : 'text' }).addClass("text") ;
$('#controlDiv').append(DynamictextBox);
});
});