I read that adding styles or javascript such as "onclick" to html is bad practice. I wonder same would apply to "onchange" events?
<select name ="backdrop" onchange="buttonChanger(this)">
The drawbacks of onclick attributes apply to all on* attributes.
onclick
on*