aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes submit a form using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "submit a form using javascript" Watch "submit a form using javascript" New topic
Author

submit a form using javascript

indu iyengar
Ranch Hand

Joined: Jul 30, 2010
Posts: 115
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...

thanks ,
Indu
indu iyengar
Ranch Hand

Joined: Jul 30, 2010
Posts: 115
form is resetting with document.form.submit () ...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61648
    
  67

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".


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: submit a form using javascript