Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery disable form element

// Disable #x
$( "#x" ).prop( "disabled", true );
 
// Enable #x
$( "#x" ).prop( "disabled", false );
Source by learn.jquery.com #
 
PREVIOUS NEXT
Tagged: #jquery #disable #form #element
ADD COMMENT
Topic
Name
4+3 =