/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function minAge (province){ if (province == "AB" || province =="MB" || province == "ON" || province =="PE" || province == "QC" || province == "SK"){ return 18; }else{ return 19; } }