Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forcing the form submission

 
Disha Sharma
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a requirement in which I have to save the details of a text box without actually submitting the form(without clicking on submit button) and the details should be saved in a session bean's property.

Any suggesstions ?
 
Swastik Dey
Rancher
Posts: 1643
6
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be you can use the onKeyPress event in the text field.
 
Disha Sharma
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the reply I understand that on key press event, I can probably call method in a java script.
But not able to understand on how can I save the value in the text box in a Session bean's property.
 
Swastik Dey
Rancher
Posts: 1643
6
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From that java script function, you can always do the form submission.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic