Posted on 2000-03-23
Need some help with this.. I would really appreciate any help in this pls..
<P>INPUT: <INPUT type="button" value = "Check "></P>
I am using IE 4.0
What I need to do is ---
if(event.keyCode == 65) (means if we press "a")
I want to change my focus from may be button --- to a Text Field..
so that key "a" works in the same way as "TAB" key ..
I don't want to loop through the elements in the form.. because I will be using the same script in many pages and all pages have different number of elements..
I guess browser already knows which element has got a focus .. May be I can use some of that information but I don't know how..
I would really appreciate any help with this..