Widget:Alcohol Withdrawal Calc: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
if(score > 15 && score < 21){document.forms["AWCalc"]["result"].value = "Definitely needs medication";} | if(score > 15 && score < 21){document.forms["AWCalc"]["result"].value = "Definitely needs medication";} | ||
if(score > 20) {document.forms["AWCalc"]["result"].value = "Increased risk of complications";} | if(score > 20) {document.forms["AWCalc"]["result"].value = "Increased risk of complications";} | ||
alert(score); | |||
} | } | ||