I have this simple Html code here.
<form action="" method="post">
Text Box:<input type="text" name="host" value="default value" size=30 onchange="updateTextBox()" />
<input type="submit" name="submit" value="update value in text box to current value"/>
</form>
Every time I click the button, I want the default value of the textbox to be updated to the value I most recently entered.