sathish

sathish

  • 0
  • 156
  • 0

Function to clear textbox

Jul 22 2019 7:00 AM
Hi,
 
  Kindly let me know how to written and call function in ts file to clear the textbox  when click on cancel button as shown below
<div>
<label for="Employee label">Field 1 :*</label>
<input class="Emp" type="text" placeholder="">
</div>
 
<div class="btngroup">
<input type="button" value="Cancel" class="button cancelbtn">
</div>
 
 
Thanks
Sathish 

Answers (2)