• Post Reply Bookmark Topic Watch Topic
  • New Topic

Forcing the form submission  RSS feed

 
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: 1812
15
Android Eclipse IDE 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: 1812
15
Android Eclipse IDE 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.

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!