tr5
asked on
How to pass parameters to an onchange function for an element dynamically created with the DOM?
Hi
I create a <select> element like this:
var selectList=document.create Element("s elect");
selectList.id='exh_list';
selectList.onchange=functi on(){proce ssExh();}
etc
The problem is that I need to pass some parameters to processExh() when the onChange fires. How do I so this?
Thanks
tr5
I create a <select> element like this:
var selectList=document.create
selectList.id='exh_list';
selectList.onchange=functi
etc
The problem is that I need to pass some parameters to processExh() when the onChange fires. How do I so this?
Thanks
tr5
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.