Try something like.
On the client....
<form name="frmForm' action='default.asp'>
<input type="text" id='txtName'/>
<input type='button' onclick='jscript:changeTextbox();'>
</form>
<script language='JScript'>
function changeTextbox()
{
txtName.value = 'hello wolrd';
frmForm.submit;
}
</script>
On the server....
Use the event on the button, to change the property of the text box.
"Jurij P" <ju***********@guest.arnes.si> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
I have a problem.
I would like to change a value from textbox with JavaScript before I
submit the form (submit updated value). Can anyone please help me?
thank you, Jure