How avoid passing default values to server in dhtmlxcombo

Default values are passed to server side even though I keep dhtmlxcombo blank using setComboText. How to avoid this?How to set default values to blank. This happens even if I don’t select anything from the list or key anthing in combo box.

Also I want to know how to set default value. Is there any method for this?

Values should be passed to server side only when I select anything from the list or if I key anything in combo box. I am working on struts jsp pages. I am using only java script and not XML.





Thanks in advance and thanks for your earlier reply.


setComboText doesn’t change the hidden values.


Try to use setComboValue instead:


combo.setComboValue("");