• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Add a link to submit button

 
shivang sarawagi
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to navigate to another page when i click the submit button. Can anyone help me in this, how do i do it ??

below is my code

 
Rajkamal Pillai
Ranch Hand
Posts: 445
1
Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Use Document.href to load a different page.

Note: Not sure if this is deprecated.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clicking the submit button will submit the form to the URL specified by the action. If that's not what you want, don't use a submit button in the first place.

Perhaps you can explain more about what you are really trying to accomplish?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic