Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (8 sloc) 424 Bytes

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


<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:

<input id="myid" class="" type="text" value="hello" />
Jump to Line
Something went wrong with that request. Please try again.