File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

submit a form using javascript

 
indu iyengar
Ranch Hand
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am using spring mvc with POST method and when I try to submit a form using javascript function, the control is not going to controller..


please guys how to submit a form (post request) from javascript function...
 
indu iyengar
Ranch Hand
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
form is resetting with document.form.submit () ...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is an HTML forum, not a Spring forum. Showing us Spring source code is not appropriate.

Show the relevant portions of the HTML as they are sent to the browser.

P.S. Make sure you didn't name anything "submit".
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic