Interviews2 answers
How to get or set the value of ASP.NET control using JQuery?
2 Answers
function CopyName() {
var name = $("#<%=txtName.ClientID%>").val(); //get value
$("#<%=txtCopyName.ClientID%>").val(name); //set value
return false;
}
priya guptaPosted Jul 23, 2014, 3:41 AM EDT
http://www.dotnetjalps.com/2011/09/jquery-and-aspnet-set-and-get-value-of.html
priya guptaPosted Jul 23, 2014, 3:40 AM EDT