Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Having a small problem with a form

 
Phillip Haddad
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

Im still sort of new to web development but ive been having a problem with forms and trying to use a link to submit for example




basically im trying to create a link such as /resource.htm?d=aViewUser&user=<whatevername> from submitting this form and this way the link is actually hidden. However when ever i press the View link which is a javascript:submit(); nothing happens at all. Im wondering if im doing anything wrong spring side? because im very confused

Thanks heaps in advanced
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a JSP issue, moved to the HTML forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<a href="javascript:submit();">View</a>


There is no global submit() method. The submit method exists on the form element. Hint hint.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic