$("#butonid").on("click",function(){
      $("#inputid").val("");
})
https://www.w3schools.com/jquery/html_val.asp