i dont think that invokes the onfocus() handler, you might have to call it manually yourself.
-igor On Fri, Jul 17, 2009 at 1:18 AM, Marieke Vandamme <ma...@tvh.be> wrote: > > document.getElementById('mytxt').focus(); > > > igor.vaynberg wrote: > > > > how are you setting the initial focus? > > > > -igor > > > > On Thu, Jul 16, 2009 at 6:45 AM, Marieke > > Vandamme<marieke.vanda...@tvh.be> wrote: > >> Hello, > >> > >> I have AutoCompleteTextField which has the focus when my page is loaded. > >> When I just start typing (because the field has initial focus), then no > >> list is shown. > >> If I leave the field and then click in it again (loosing focus and then > >> gaining it again), the list is shown. > >> > >> Can somebody help me with this or is it a bug? > >> Many thanks in advance! Marieke. > >> **** DISCLAIMER **** > >> http://www.tvh.be/newen/pages/emaildisclaimer.html > >> http://www.tvh.be/newen/pages/emaildisclaimer.html > >> > >> "This message is delivered to all addressees subject to the conditions > >> set forth in the attached disclaimer, which is an integral part of this > >> message." > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > > > -- > View this message in context: > http://www.nabble.com/AutoCompleteTextField-with-initial-focus-not-working-tp24516661p24530409.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org