I\'ve got a script where I am dynamically creating select boxes. When those boxes are created, we want to set the onchange event for the new box to point to a
onchange
yourSelect.setAttribute( "onchange", "yourFunction()" );