Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sirisha on Nov 17, 2008 22:10
open dhtmlx forum
DHTML combo with events and autocomplete

Hello,
I want to add all the events to dhtml combo which are existing in HTML select tag.How can i do it?
I also want to use the existing events for time being like onBlur and onChange, how can i use them?
Is this the correct way of using them? if yes im not getting results,if no plz help me.
<script type=\"text/javascript\">"z.attachEvent("onBlur",functionName());</script>

Thanku
Answer posted by Support on Nov 18, 2008 01:51
When combo init from selectbox, it will reuse existing onchange event ( if any ) , all other events will be ignored. 
You can aceess input part of combo as 
         combo.DOMelem_input 
and assign any necessary events to it.