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.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>