• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding a link to a a button in a form without Javascript

 
jay donald
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

The title says it all. I would like to create a link for a button which is a part of a form so that if you click on it it takes you to a new url (for example: www.google.com) without having to use Javascript pop window. It works with a simple text like:

but if i try to achieve the same with a button, it doesn't work.

There are other buttons in this form as well, so i can't make this "submit" button because i don't want to submit the form.
I know how to do it in Javascript but was wondering if i can achieve the same thing with pure HTML. Thanks for your time .

Jay

[ November 13, 2006: Message edited by: jay donald ]
[ November 13, 2006: Message edited by: jay donald ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
without having to use Javascript pop window


Huh? What does a "pop window" have to do with links and buttons?

Are you trying to avoid JavaScript completely?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic