How To Fire Onchange Event In Chosen Prototype Javascript Select Box?
I am using chosen prototype for select box. Now i want to fire onchange event on that select box. here is the link for chosen prototype How to do this. please help me.
document.observe('dom:loaded', function() {
$$(".chzn-select").each(function(select) {
newChosen(select);
});
});
Solution 2:
use the "addEventListener" method on the select box object.
EDIT - here's an example:
document.getElementById('selecboxid').addEventListener('change', SomeFunction(), false);
Post a Comment for "How To Fire Onchange Event In Chosen Prototype Javascript Select Box?"