Preston To
Posts: 0
Joined: Thu Jun 18, 2015 12:35 pm

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How do I clear a text box?

Hello Preston,

Please use this JS:

preApperyio("code_area").val("");/pre

Preston To
Posts: 0
Joined: Thu Jun 18, 2015 12:35 pm

How do I clear a text box?

Thanks, it worked!

Return to “Issues”