This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes automatic form submit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "automatic form submit" Watch "automatic form submit" New topic
Author

automatic form submit

debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

hi all,

i am trying to submit form using javascript, my code is like

but it is not working, so i tried with onload="submit()" inside body tag

also i have tried with

but nothing is working, any suggestion would be great.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: automatic form submit
 
Similar Threads
Tricky form problem glad for any ideas or tell me its not possible
Submit Methods pulling same data
Form input type=hidden - is it possible to set values dynamically
Need to pass Javascript Array to Struts 2 Action
Default Enter key and submit BUTTON