Combobox getElementById

Hello.

I am making a form using Combobox.



I would like to know how I could clear out input from a part of a form.



I’ve put a function called ClearField(); , and tried to use getElementById.

















            

with above code, you can use
function clearField()
{
p.setComboText("")
a.setComboText("")
}