This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
raminaa niilian
Ranch Hand
Posts: 551
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

thanks
 
Richard Green
Ranch Hand
Posts: 536
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
thank you for thanking me for reading your 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.

i believe you want to submit the form without any user interaction. yes javascript is the go for such requirements.
 
Mohamad Norouzi
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

try this:


sorry I dont know why this site doesnt allow to put "greaterThan" and "less Than" characters.
 
raminaa niilian
Ranch Hand
Posts: 551
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic