469,917 Members | 1,529 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

dotted line appeared around the button after applying focus command

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
6 4968
acoder
16,027 Expert Mod 8TB
That shows that the button has focus. Why do you want to get rid of it?
Jan 22 '08 #2
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
Nalum
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
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
5,390 Expert Mod 4TB
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
16,027 Expert Mod 8TB
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.

Similar topics

4 posts views Thread by Doors of Perception | last post: by
4 posts views Thread by melanieab | last post: by
16 posts views Thread by Stuart | last post: by
2 posts views Thread by melanieab | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.