29 Aug 2013

How do I disable/enable a form element?

enable or disable a form element using the .prop() method: // Disable #div1
$( "#div1" ).prop( "disabled", true );
// Enable #div1
$( "#div").prop( "disabled", false );

No comments:

Post a Comment

How to Create WEBSITE DESIGN

Way2finder Technologies is a web design studio that offers corporate web design and custom web design. Our website designers offer cheap w...