[eluser]Julia Yan[/eluser]
[quote author="Federico Baña" date="1293131912"]the problem is in the javascript, the error should say that ".val()" is undefined. the right way to do it is: onchange="alert(this.value)"[/quote]
Thanks Federico Baña, it works with your code.