Hello group,
I'm having a problem with an HTML element performance. When I use
focus() method to jump to an input text. I realize the cursor is on
waiting on the 2nd column waiting for user to enter a number. This is
the HTML part:
<input id="id_Text_Oct et1" type=text value="" maxlength="3"
onkeyup="SomeFu nction(event, this.id);" style="border:0 ;width:
25px"><span style="font-size:18px;">.</span>
Then in JavaScript there is line of code:
document.getEle mentById("id_Te xt_Octet" + 1).focus();
Always user must press backspace in order to be able to type three
digits.
I will appreciate it if somebody could give me a hand in this.
regards,
ak
Comment