tab past a read only textbox
I have a textbox that i am using as a counting field.
when you are tabbing it tabs to this textbox.
I have the textbox set to readonly.
All im looking for is a quick way to tell it that if that textbox gets focus to send the focus to the next element.
<input type=text name=txtCounter value=1000 onfocus="?">
ok i got it, let me know if there is a better way to do it.
<input type=text name=txtCounter Id=TC onfocus="MoveNext('ID OF FIELD I WANT FOCUS TO MOVE TO');">
Give the input fields your choice of consecutive tabindex values. Give the readonly fields a tabindex of -1
<input type=text name=txtCounter value=1000 tabindex=-1>
I like that alot better.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)