# enable

Source: https://zotonic.com/docs/1531/enable

URI: https://zotonic.com/id/1531

Language: en



Resets the “disabled” attribute of a HTML tag and removes the CSS class “disabled”.

Example:

```django
<input id="myid" disabled="disabled" class="disabled" type="text" value="hello" />
{% button text="enable" action={enable target="myid"} %}
```

After clicking the button the input will be:

```django
<input id="myid" class="" type="text" value="hello" />
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1531?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1531?language=en>)
