From the API documentation for attr
A null value will remove the specified attribute
So it looks like you want .attr('disabled', null).
From the API documentation for attr
A null value will remove the specified attribute
So it looks like you want .attr('disabled', null).