Richard Brennan

Richard Brennan

  • NA
  • 114
  • 85.5k

A few basics for a newby

Apr 6 2011 10:49 AM
Hi

I have a form with text boxes and a button.
I have set the tabindex - but the textbox with tabindex set to 1 is not the first thing active when i press tab. 
Newbies hay - hope thats not so abvious to fix. lol

There is no default focus - so I have to manual select the terxt box and i want ot be automatically be selected after pressing a radio buton.  How do i set the focus for this and can pressing enter move the focu to the next text box?  How can i make pressing enter in the last textbox run the click event of a button (what do u sed as the arguments, sender and e?

Hope that makes sence.

Regards.

Answers (7)