Answers for "disable input border on focus"

12

jquery disable input

//jQuery 1.6+ use:
$("#inputID").prop('disabled', true); //disable 
$("#inputID").prop('disabled', false); //enable

//jQuery 1.5 and below use:
$("#inputID").attr('disabled','disabled'); //disable 
$("#inputID").removeAttr('disabled'); //enable
Posted by: Guest on July-22-2019
16

css remove border input focus

textarea:focus, input:focus{
    outline: none;
}
Posted by: Guest on June-30-2020
2

hide input border on focus

input:focus{
    border: none;
}
Posted by: Guest on April-22-2021
1

input outline focus

input:focus, textarea:focus {
    background-color: #FFFF66;
    border: 1px solid #F47E58;
}
Posted by: Guest on October-16-2020

Code answers related to "disable input border on focus"

Code answers related to "Javascript"

Browse Popular Code Answers by Language