Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by walter on Dec 13, 2007 12:56
open dhtmlx forum
error: this.attachEvent is not a function

Error: this.attachEvent is not a function
Source file: http://hair/includes/js/dhtmlxCombo/dhtmlXCombo.js
Line: 14

Any ideas why?

My test code...

<script Language="JavaScript" type="text/javascript">
var combo_serviceblock_id = dhtmlXComboFromSelect("serviceblock_id");
combo_serviceblock_id.enableFilteringMode(true);

combo_serviceblock_id.attachEvent("onChange",function(){
alert(value=combo_serviceblock_id.getSelectedValue());
});

</script>
Answer posted by Support on Dec 14, 2007 02:56
Problem already fixed in latest build ( will be released on dhtmlx.com in few days )
You can get latest file here
    http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=1339&ssr=yes&s=combo
Answer posted by Walter on Dec 14, 2007 08:14
Thank you