0
<input type="reset"/>

Can we have write a equivalent action in javascript?

1 Answer 1

4

Yes, the reset() method on a form element.

Sign up to request clarification or add additional context in comments.

1 Comment

I was tempted not to up-vote this and just move on because of the "duh" nature of the question, but who knows... some js newbie might see this and need to know it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.