Event when user has selected option from select list?

Looking through the API’s for dhtmlxform, it is not clear which event to use to handle user selecting something from a select options list. The only thing I can catch apparently is onFocus, however I am mainly only interested in catching an event after it has been selected not before. onButtonClick nor onChange seem to work with select types.

You need to use onSelect event handler:
myForm.attachEvent(“onChange”,function(id, value){
if (id == “mySelect”){
//your custom function


You are welcome!