I am new to Javascript. Can someone help with the following? I would like the text box txtDate to be set to the current date and the text box txtAmount set to 0 when a user clicks on the checkbox txtChkBox1. The simple HTML code is below.
Thank you!
<input type="checkbox" name="txtChkBox1" /> Click Here<br />
<input type="text" name="txtDate" /><br />
<input type="text" name="txtAmount" /><br />
Thank you!
<input type="checkbox" name="txtChkBox1" /> Click Here<br />
<input type="text" name="txtDate" /><br />
<input type="text" name="txtAmount" /><br />