D
dlx_son
Here is the code so far
<form name="thisform">
<h3>Enter time to add to or subtract from:</h3>
(If not entered, current time will be used)<br>
Day: <input name="d1" alt="Day of month" size=3>
Month: <input name="m1" alt="Month" size=3>
Year: <input name="y1" alt="Year" size=5> (4 digits for year, e.g.
1950)<br>
Hours: <input name="h1" alt="Hours" size=3>
Minutes: <input name="i1" alt="Minutes" size=3>
Seconds: <input name="s1" alt="Seconds" size=3>
<h3>Enter time to add/subtract</h3>
<select name="type">
<option value="add">Add
<option value="sub">Subtract
</select>
<input alt="Amount to add/subtract" name=amount size=10>
<select name="unit">
<option value="d">days
<option value="h">hours
<option value="m">minutes
<option value="s">seconds
</select>
(Note: Value to add or subtract must currently be less than 300
years)<br>
<input type=submit alt="Calculate" value="Calculate new date!">
</form>
I would like to click on the submit button and then some kind of alert
window would pop up. Or just write it on the page.
thanks.
<form name="thisform">
<h3>Enter time to add to or subtract from:</h3>
(If not entered, current time will be used)<br>
Day: <input name="d1" alt="Day of month" size=3>
Month: <input name="m1" alt="Month" size=3>
Year: <input name="y1" alt="Year" size=5> (4 digits for year, e.g.
1950)<br>
Hours: <input name="h1" alt="Hours" size=3>
Minutes: <input name="i1" alt="Minutes" size=3>
Seconds: <input name="s1" alt="Seconds" size=3>
<h3>Enter time to add/subtract</h3>
<select name="type">
<option value="add">Add
<option value="sub">Subtract
</select>
<input alt="Amount to add/subtract" name=amount size=10>
<select name="unit">
<option value="d">days
<option value="h">hours
<option value="m">minutes
<option value="s">seconds
</select>
(Note: Value to add or subtract must currently be less than 300
years)<br>
<input type=submit alt="Calculate" value="Calculate new date!">
</form>
I would like to click on the submit button and then some kind of alert
window would pop up. Or just write it on the page.
thanks.