282
ediciones
Cambios
sin resumen de edición
<fieldset>
<legend>Calculate the time</legend>
<label><input type="checkbox" nameid="roundtrip" valuename="RoundTriproundtrip" onclickvalue="calculateTotal()RoundTrip" />Is a round trip</label>
<br/>
</form>
<script>
function calculateTotal(){
var theForm = document.forms["calculator"];
var altitude= parseInt(theForm.elements["altitude"].value);
}
$( document ).ready(function() {
$('#roundtrip').click(function(){
if (this.checked) {
$('p').css('color', '#0099ff')
}
})
});
</script>
<style>