By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,460 Members | 1,191 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,460 IT Pros & Developers. It's quick & easy.

How to focus image

P: 1
I want to focus image onpressing the enterkey.
i use <input type="image"> tag.
Oct 8 '07 #1
Share this Question
Share on Google+
2 Replies


dmjpro
100+
P: 2,476
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

FullyH3ktik
P: 52
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.