469,271 Members | 1,554 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

How to focus image

I want to focus image onpressing the enterkey.
i use <input type="image"> tag.
Oct 8 '07 #1
2 2680
dmjpro
2,476 2GB
I want to focus image onpressing the enterkey.
i use <input type="image"> tag.
Simply do use "object.focus()".

Debasis Jana.
Oct 8 '07 #2
you can use onkeypress="image.focus()" but then the object gets focus even if you press the U key for example
Oct 8 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by 'bonehead | last post: by
reply views Thread by mee-shell | last post: by
2 posts views Thread by Bettina | last post: by
2 posts views Thread by Charles Eubanks | last post: by
1 post views Thread by krishna | last post: by
2 posts views Thread by Timo | last post: by
2 posts views Thread by sck10 | last post: by
1 post views Thread by damonwischik | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.