DEV Community

Discussion on: Amazing Clear Input Using HTML & JS

Collapse
 
nikhil27b profile image
Nikhil Bobade

But reset is use for full form or input what if you only want to use for certain field

Collapse
 
dillonheadley profile image
Dillon Headley

That’s a good point! In that case what you demonstrated would be the way to go 😄

Thread Thread
 
nikhil27b profile image
Nikhil Bobade

There are many ways but I written a beginner friendly