Try this
<form .......>
......
<input type="text" id="no" value="" size="8" />
<input type="button" value="Change"
onclick="this.form['no'].value='New text'" />
......
</form>
Clicking the "Change" button will place "New text" in the text box "no" .
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.