![]() |
I made a guessing game and id like to know how to make the program focus itself on my text field after each press of the guess button, instead of alwayz having to click in the field to get a cursor to enter your next guess.
|
Not positive, but couldn't you just say
textfileld.focus()? |
nope that didnt work i tried a boolean in it too and nothig.
|
How about
tf.hasFocus(true); or tf.requestFocus(); :D |
tf.focus(); ?? // Its javascript, sue me :P
|
| All times are GMT -5. The time now is 1:11 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC