How to remove an attribute in D3.js?
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)
.