Using an onchange event in javascript

Posted by on November 22, 2011 in Javascript, Programming | 1 comment

Often times it’s nice to do things when users change the selection in a dropdown list. Maybe you want to hide certain options, or do a quick calculation for them. Here’s how to launch a function when the selection is changed.