I have a few asp:textbox controls in a form on a webpage, below is a snippet. The first is a field where the recipient is entered, the other is a larger textarea where the r
IN ASP.NET, you will need to write in this way:
var recipient = $("#<%=recipient.ClientID%>").val();
In MVC, then you can write in this way:
var recipient = $("#recipient").val();