Always post your code we dont know how your HTML is. Well says your textbox id is "txtEmail". Then just use the below code to get the textbox value.
$(document).ready(function(){
var email = $("#txtEmail").val();
});
if using masterpage and your textbox is in content page then:
$(document).ready(function(){
var email = $('#<%=txtEmail.ClientID %>').val();
});