[BUG] javascript error on mozilla when click()

2007-02-28 Thread PeshoChuka
, when used in Firefox it complaines that it cannot find the javascript for the submit operation.! Please give me a workaround, or some way to go ahead thank you. -- View this message in context: http://www.nabble.com/-BUG--javascript-error-on-mozilla-when-click%28%29-tf3309636.html#a9206218

Re: [BUG] javascript error on mozilla when click()

2007-02-28 Thread Mario Ivankovits
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

Re: [jira] [BUG] javascript error on mozilla when click()

2007-02-28 Thread PeshoChuka
] 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 -- View this message in context: http://www.nabble.com/-BUG--javascript-error-on-mozilla-when-click%28%29-tf3309636.html#a9206619 Sent from the My

Re: [BUG] javascript error on mozilla when click()

2007-02-28 Thread Mario Ivankovits
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

Re: [jira] [BUG] javascript error on mozilla when click()

2007-02-28 Thread Mike Kienenberger
at the generated html. Anything else looks fine. Maybe have a look at [1] too. Ciao, Mario [1] http://wiki.apache.org/myfaces/SubmitPageOnValueChange -- View this message in context: http://www.nabble.com/-BUG--javascript-error-on-mozilla-when-click%28%29-tf3309636.html#a9207581 Sent from the My Faces