dcsimg
Move focus to other checkbox by press keyboard
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, June 22, 2002 08:34 AM

I have three checkbox group. How can I do this?. if I press '1' focus will be on checkbox1 and if I press '2' focus will be on checkbox2 the same with checkbox3. if anyone have any idea please reply me , thank you

Re: Move focus to other checkbox by press keyboard

Posted By:   Xavier_Hurtado  
Posted On:   Thursday, June 27, 2002 11:51 AM

Maybe the following code can help you. There, everytime a key is pressed anywhere in the page, a function that evaluates the ascii code of the key pressed is triggered and depending on it that function will set the focus to a desired object.


































Note that ck1, ck2 and ck3 are the IDs of the checkboxes.
About | Sitemap | Contact