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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 60072
    
  65

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: submit a form using javascript
 
Similar Threads
Pressing the enter key receive extra invalid data
Question on jQuery ajax functionality & troubleshooting called bean in JSF page
how to delete the rows which are checked
Retrieve data from other server using JavaScript
Need Help With Dynamic text box in JSP