>I have a form that has a radio button. When the button is pressed (chosen by the user) I would like the focus to be moved to an Input text field. Can someone give me the java code needed to perform this action.
>
>What I have tried is this:
>
>onmousedown="Javascript:myEnableNewDodic();document.AdminForm.NewDodic.focus()"
>
>This does nto seem to work, the myEnableNewDodic function gets called and executed, but the focus does not change.
>
>Any help would be appreciated.
One SWAG, try
onmousedown="Javascript:myEnableNewDodic();document.AdminForm.NewDodic.focus();return false;"
BTW, This post should be under javascript not java.
Michael McLain