Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Nov 11, 2009 04:21
open dhtmlx forum
combo box

how to set focus on combo in onload event in body tag
Answer posted by Alex (support) on Nov 11, 2009 05:09

Combo API doesn't allow to do that. But there is an internal property DOMelem_input - combo input object.

You can try to use it to set focus after combo initialization:

var combo = new dhtmlXCombo(....);

combo.DOMelem_input.focus();