Hi!
> document.getElementById('myId').click();
>
> the button defenition in JSF id classic :
>
> <h:commandButton id="myId" actionListener="#{myListener}">
>   
Are you really using just the same id for getElementById and the id
defined for the commandButton?
Its very unlikely that this works, though, should not work with IE too,
as the client id for a jsf comonent is prefixed with the ids of any
parent naming container.

Please double check that you use the correct javascript id by looking at
the generated html.
Anything else looks fine. Maybe have a look at [1] too.


Ciao,
Mario


[1] http://wiki.apache.org/myfaces/SubmitPageOnValueChange

Reply via email to