If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
help me in getting a value from textbox before submiting the form
i used javascript function to get the value but how will i receive the value in the asp. txtto is the name of the textbox
<script>
function disp()
{
a= document.form1.txtto.value;
alert(a);
return a ;
}
</script>
you are trying to pass variable data between server and client codes.
one way to do this is to use an HTML <Input type="hidden"> text box as an intermediate holding place and refer to your data by using this text box's value in either the client or server codes.