You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Colm Garvey <co...@letsys.com> on 2004/03/19 16:17:49 UTC

html:form focus problem

Anyone else noticed an issue whereby the focus javascript is popping up an
error because it can't find the element to which the focus is attached?
I've tested the code by re-invoking it after the page has fully loaded and
it works just fine.
The problem seems to be that for some very odd reason the javascript is
being called before the element is available.

Anyone else experience this and if so, any workarounds?
Colm