How do I clear a text box?

I would like to clear the content of 2 text boxes (code_area & qty_area) after pressing a button, what JS would I need for that? Thanks in advance
1 person has
this question
+1
Reply