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

dotted line appeared around the button after applying focus command

P: 18
hi i am new to javascript i hav some problem with button in page that is when i set the focus to button the dotted line appear around the button is there any solution to hide that dotted line...please help me

thanks in advance!
Jan 22 '08 #1
Share this Question
Share on Google+
6 Replies


acoder
Expert Mod 15k+
P: 16,027
That shows that the button has focus. Why do you want to get rid of it?
Jan 22 '08 #2

P: 18
That shows that the button has focus. Why do you want to get rid of it?

yah my button has focused but i dont want to show the dotted line, my tester put this as a bug. can you please tell me solution for that?
Jan 22 '08 #3

P: 5
yah my button has focused but i dont want to show the dotted line, my tester put this as a bug. can you please tell me solution for that?
Hi Pravinnweb
Thats not a bug.
The browser does that to show that the button has focus.
Jan 22 '08 #4

P: 18
Hi Pravinnweb
Thats not a bug.
The browser does that to show that the button has focus.

Thanks!..but is there any solution to hide that dotted line around the button?
Jan 22 '08 #5

gits
Expert Mod 5K+
P: 5,329
i dont't know of a way to do that for standard-buttons but you may create custom ones for your own ...

kind regards
Jan 22 '08 #6

acoder
Expert Mod 15k+
P: 16,027
Thanks!..but is there any solution to hide that dotted line around the button?
You may find this link useful. You'll probably have to adapt it for buttons. Remember to give your users an alternative method of determining which button/element has focus.
Jan 22 '08 #7

Post your reply

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