Hi! > Hello I use javascript to simulate button click and send a postback to the > server. Here is the java script: > > document.getElementById('myId').click(); > If possible have a look at our sandbox component s:submitOnEvent [1]
It solves many of the problems you might have when you try to do it manually. Ciao, Mario [1] http://wiki.apache.org/myfaces/SubmitOnEvent