tom tom - 5 months ago 8
HTML Question

How to remove th select box after button clicked?

<input type="button" id="AutoRefresh" value="Auto Refresh" onclick="toggleRefresh();"/>

Before Click:

Before Click

After Click:

After Click

How to prevent the button from being visually selected?


Something like..

/* Outline due to focus */
input[type="button"]:focus {
    outline: none !important;   


/* Any outlines applied */
#AutoRefresh { 
    outline: none !important;
} your CSS file / <style> tag, or whatever method of styling you apply.

For Firefox:

input[type="button"]::-moz-focus-inner {   
    border : 0px;