<html>
<head>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<form name="myTravelForm">
<label>First Name:</label>
<input type="text" name="firstname">
<label>Last Name:</label>
<input type="text" name="lastname"/>
<select name="destination">
<option value="Antarctica">Antarctica</option>
<option value="Costa Rica" selected>Costa Rica</option>
</select>
<input type="button" value="Add this traveler" onClick="processTravelForm()">
</form>
<div id="travelerInfo"></div>
</body>
</html>
No comments:
Post a Comment