Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by arno on Jul 28, 2008 09:01
open dhtmlx forum
get thet typed or the selected item

I don't understand how the server get the selected or typed item of the combobox.

I use a form with a select box
Answer posted by Support on Jul 28, 2008 09:17
If combobox placed inside form tag in will send data as default select box control  ( as part of form submit )
If you creating combobox from selectbox it will take the same name as source selectbox.
In other case you can set used name ( which will be available for server side code as second parameter of constructor )
    var combo = new dhtmlXCombo("myDiv","myName");