how i can submit a form along with some parameters using javascript ?

Hi thank you for reading my post. is there any way that i can submit a form using javascript and also pass some parameters witht he submitted form ? i have some parameters in a request scope bean , now in another page i need to submit them to a 3rd party web page with some parameters that i calculate before.

so the question is : can we submit an h:form using javascript also pass some parameters ?

is there any way that i can submit a form using javascript and also pass some parameters witht he submitted form ? i have some parameters in a request scope bean , now in another page i need to submit them to a 3rd party web page with some parameters that i calculate before.

i believe you want to submit the form without any user interaction. yes javascript is the go for such requirements.

Hi thank you for reading and replying to my post. problem here is that all of those parameters value are dynamic. i thought about using java script and that is the only way , but bigger problem is those parameters that are calculated in bakcing bean and are set-ed in a Session scope and a request scope bean.