DigitalBoy
Programmer
I have the following code that places characters in a text area when buttons are clicked:
<BODY>
<center>
<form>
<input type=text name=amount value="A">
<input type=button value="up" onClick="javascript:this.form.amount.value='A';">
<input type=button value="down" onClick="javascript:this.form.amount.value='B';">
</form>
</center>
My question is: How do I code a button for "space"? Meaning, how do I code a button to tell the cursor to move one position right of it's current position?
- DB
dgtlby@excite.com
Administrator
UBB Developers Network
<BODY>
<center>
<form>
<input type=text name=amount value="A">
<input type=button value="up" onClick="javascript:this.form.amount.value='A';">
<input type=button value="down" onClick="javascript:this.form.amount.value='B';">
</form>
</center>
My question is: How do I code a button for "space"? Meaning, how do I code a button to tell the cursor to move one position right of it's current position?
- DB
dgtlby@excite.com
Administrator
UBB Developers Network