Thursday, December 1, 2011

apply the disabled attribute via jQuery

Make a button disabled:

this.att('disabled','disabled');

 
 

Get rid of the disabling:

this.removeAtt('disabled');

No comments:

Post a Comment