Answers for "html form reset"

5

reset submit input style

button, input[type="submit"], input[type="reset"] {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}
Posted by: Guest on November-03-2020
6

javascript reset form

document.querySelector("form").reset();
Posted by: Guest on June-30-2020
1

Reset all form data

document.getElementById("myForm").reset();
Posted by: Guest on September-06-2021

Browse Popular Code Answers by Language