Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Self Submit Form

 
Preetish Madalia
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does any one have the javascript that can self submit a form.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Preetish,
The JavaScript to submit a form is just form.submit(). You call this from the event that triggers the form submit.
 
Bryce Martin
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a self submitting form I wrote for a jsp. Its simple, clean, and it works flawlessly.




Salt and Pepper to taste.

Bryce
 
Preetish Madalia
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Both..
I Got It.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic