Twitter bootstrap reset button

Twitter bootstrap reset button

How i can create a reset button using twitter bootstrap? same as the forms reset button which clears all the data?

Solutions/Answers:

Solution 1:

<input class="btn btn-danger" type="reset" value="Reset">
<!-- or -->
<button class="btn btn-danger" type="reset">Reset</button>

If you don’t want it to look “dangerously” remove btn-danger class.

References

Related:  How can I remove default button class of a dataTables button?