Widget:RimCalc: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
weight = parseInt($("#input1").val()); | weight = parseInt($("#input1").val()); | ||
} | } | ||
age = parseInt($("#input2").val( | age = parseInt($("#input2").val()); | ||
serum = parseFloat($("#input3").val()); | serum = parseFloat($("#input3").val()); | ||
temp = (140 - age) * weight; | temp = (140 - age) * weight; | ||
Line 30: | Line 30: | ||
$("#output").append("<br />250-500 mg q18h") | $("#output").append("<br />250-500 mg q18h") | ||
} | } | ||
//Don't touch! | //Don't touch below! | ||
}); | }); | ||
}); | }); |