Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

disable input field with jquery

// Disable #x
$( "#x" ).prop( "disabled", true );
 
// Enable #x
$( "#x" ).prop( "disabled", false );
 
PREVIOUS NEXT
Tagged: #disable #input #field #jquery
ADD COMMENT
Topic
Name
5+7 =