AutoComplete with SetInputFocus

When I use this, the cursor comes after the prompt in the autocomplete field.
Anybody a solution for this ?
Hi Joop,

I have a solution. On the Webblock which contains the AutoComplete widget, for the JavaScript property below the StyleSheet property, type this code:

function textProjectName_OnFocus(focusThis)
    if(osjs.trim(focusThis.value) == "Type or double-click for list")
        focusThis.value = "";

And now click on the AutoComplete field, in the Extended Proprties section for Name1 type: onfocus and for Value1 type:  "textProjectName_OnFocus(this);"

Hope this helps.

Cheers !!