Answers for "select disabled jquery"

3

jquery disable select

$('#pizza_kind').prop('disabled', false);
Posted by: Guest on May-29-2020
3

disable input field with jquery

// Disable #x
$( "#x" ).prop( "disabled", true );
 
// Enable #x
$( "#x" ).prop( "disabled", false );
Posted by: Guest on September-11-2020
0

jquery enable textbox

// Disable #x
$( "#x" ).prop( "disabled", true );
 
// Enable #x
$( "#x" ).prop( "disabled", false );
Posted by: Guest on May-20-2020
1

jquery option not disabled

const opt = $('#select option:not(:disabled)'); // array with all options not disabled
const first = $($('#select option:not(:disabled)')[0]); // first option not disabled
Posted by: Guest on April-20-2021

Code answers related to "select disabled jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language