set focus in a popup window


I am trying to set the focus on the first xcombobox in a form using the code example given within a popup window, but it is not changing the focus.  Any ideas?



For example,
    combo.DOMElement.focus()

If you want to access visible input , it will be
    combo.DOMelem_input.focus()