Select onchange

http://html.cita.illinois.edu/script/onchange/onchange-example.php