html select javascript onchange

 

 

 

 

. However, I would like to be able to add the "onChange" method by JavaScript. This way I can dynamically change the method being used.