$input.disabled = true;
or
$input.disabled = \"disabled\";
Which is the standard way? And, conversely, how do yo
Use like this,
$( "#id" ).prop( "disabled", true ); $( "#id" ).prop( "disabled", false );