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
Through this you can also get asp button or any control for that matter.
var txt_recipient = document.querySelector("input[id*='recipient']");
alert(txt_recipient.Value);
you can also try querySelectorAll() if you have multiple controls with same id in client side.
jQuery Equalent is
$("input[id*='recipient']").val()