Guys.. can you help me. I'm a beginner in HTML..
I have problem in Function javascript.. I need to put 3 programs.. then I will call it by prompt..

sample..

Choose one here.. after choosing the program will execute..

after execute.. it will prompt again.. Do you want to continue.. It will return to Choose one here..

This is the 3 program I need to put then call..

<html>


<head>


<title>Using the switch statement</title>


<script language="JavaScript">





function verifyDay(form){


var myEntry = form.day.value.toUpperCase();





var one = "January";


var two = "February";


var three = "March";


var four = "April";


var five = "May";


var six = "June";


var seven = "July";

var eigth = "August";


var nine = "September";


var ten = "October";


var eleven = "November";


var twelve = "December";







switch(myEntry){


case "1" :


alert(one);


break;


case "2" :


alert(two);


break;


case "3" :


alert(three);


break;


case "4" :


alert(four);


break;


case "5" :


alert(five);


break;


case "6" :


alert(six);


break;


case "7" :


alert(seven);


break;

case "8" :


alert(eight);


break;


case "9" :


alert(nine);


break;


case "10" :


alert(ten);


break;


case "11" :


alert(eleven);


break;


case "12" :


alert(twelve);


break;


default :


alert('You have entered an invalid day');


}


}





</script>


</head>


<body>


<form name="myForm">


<b>Please number day 1-12:</b><br>


<input type=TEXT value="" name="day">


<input type=BUTTON value="Verify" name="myButton" onClick='verifyDay(this.form)'>


</form>


</body>


</html>





<html>


<head>


<title>Using the switch statement</title>


<script language="JavaScript">





function verifyDay(form){


var myEntry = form.day.value.toUpperCase();





var one = "Monday";


var two = "Tuesday";


var three = "Wednesday";


var four = "Thursday";


var five = "Friday";


var six = "Saturday";


var seven = "Sunday";


switch(myEntry){


case "1" :


alert(one);


break;


case "2" :


alert(two);


break;


case "3" :


alert(three);


break;


case "4" :


alert(four);


break;


case "5" :


alert(five);


break;


case "6" :


alert(six);


break;


case "7" :


alert(seven);


break;


default :


alert('You have entered an invalid day');


}


}





</script>


</head>


<body>


<form name="myForm">


<b>Please number day 1-7:</b><br>


<input type=TEXT value="" name="day">


<input type=BUTTON value="Verify" name="myButton" onClick='verifyDay(this.form)'>


</form>


</body>


</html>



<html>

<head><title>for loop</head></title>

<body>



<script language="javascript">



var x=prompt('Enter a number:');

var y;



for (y=0; y<=10; y++)

{

document.write(y + ' multiplied by ' + x);

document.write(' is equal to ' + x*y);

document.write('<br>');

}



</script>

</body>

</html>


Help me guys.. please.. thats my project... I need your help..
THANK YOU GUYS....