javascript
Brief description  about Online courses   join in Online courses
View Humphrey  Ocansey 's Profile

MY LOOP STATEMENT IS NOT WORKING

<script language = "javaScript">
Age = document.frmOne.cmbAge.value
switch (select){
case 0:
alert("still at school");
break;
case 1:
alert("still young");
break;
case 2:
alert("start lying");
break;
case 3:
alert("start saving");
break;
default:
alert("undetermined");
}
</script>
Please this was my code for the "Loop" but it is not working in any of my browsers. Sir,please what may be the possible cause of this problem and this is why i have not been able to get to the other Lessons.Please help me.Thank you
Asked by Humphrey Ocansey | Sep 7, 2013 |  Reply now
Replies (0)