dotted line appeared around the button after applying focus command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pravinnweb
    New Member
    • Dec 2007
    • 18

    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!
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    That shows that the button has focus. Why do you want to get rid of it?

    Comment

    • pravinnweb
      New Member
      • Dec 2007
      • 18

      #3
      Originally posted by acoder
      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?

      Comment

      • Nalum
        New Member
        • Jan 2008
        • 5

        #4
        Originally posted by pravinnweb
        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.

        Comment

        • pravinnweb
          New Member
          • Dec 2007
          • 18

          #5
          Originally posted by Nalum
          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?

          Comment

          • gits
            Recognized Expert Moderator Expert
            • May 2007
            • 5390

            #6
            i dont't know of a way to do that for standard-buttons but you may create custom ones for your own ...

            kind regards

            Comment

            • acoder
              Recognized Expert MVP
              • Nov 2006
              • 16032

              #7
              Originally posted by pravinnweb
              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.

              Comment

              Working...