This is a discussion on "how to give focus for text fields" within the Flash & Multimedia Forum section. This forum, and the thread "how to give focus for text fields are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
how to give focus for text fields
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
how to give focus for text fields
i have three textinputs
when i testmovie i need the focus on the first text field then on pressing tab it should go to next please help me |
|
|
|
#2
|
||||
|
||||
|
Re: how to give focus for text fields
window.onload = function(){
document.getElemedByID('text1').focus(); }
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
#3
|
|||
|
|||
|
Re: how to give focus for text fields
i need it in action scripting
i am using setFocus but it doesnt go to next textinput when i press tab |
|
#4
|
||||
|
||||
|
Re: how to give focus for text fields
So sorry, I forgot I was in the flash forum.... LOL
Erm... I can't help you there matey
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
#5
|
|||
|
|||
|
OK I hope I am understanding you correctly.
You want to make flash go to the next input text box when the user presses the tab key? OK here is what you do. Give your input text boxes an instance name; in this case I used input1 for the first text box and input2 for the next text box. Here is the code...
|
![]() |
| Tags |
| give, focus, text, fields |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Show/Hide text fields based on drop down | sing2trees | JavaScript Forum | 1 | Apr 22nd, 2008 21:01 |
| focus() onLoad | Jaken Veina | JavaScript Forum | 1 | Apr 22nd, 2006 17:34 |
| text box focus | Prakashcee | Flash & Multimedia Forum | 2 | Dec 6th, 2005 08:35 |
| text fields doesnt work on Mac IE | hey259 | Web Page Design | 1 | Jan 23rd, 2004 20:28 |
| buttons text fields | djaccess | Classic ASP | 10 | Sep 29th, 2003 12:19 |