Get value from check box
<html> <head> <script> function processMusic(){ document.myForm.txtOutput.value = ""; if (document.myForm.chkCountry.checked == true){ document.myForm.txtOutput.value += "You like "; document.myForm.txtOutput.value += document.myForm.chkCountry.value; document.myForm.txtOutput.value += "\n"; } } </script> </head> <body> Music Chooser <form name = myForm> <input type = "checkbox" name = "chkCountry" value = "country">country <textarea name = "txtOutput" rows = 10 cols = 35> </textarea> </form> </body> </html>