File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes  html button and hyperlink 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 " html button and hyperlink" Watch " html button and hyperlink" New topic

html button and hyperlink

feroz muhamed
Ranch Hand

Joined: Nov 15, 2003
Posts: 87
can i use a button (Not submit button) as hyperlink. if yes how can i do it
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 641
Cant guess why you need this,still c if this helps you.

NOTE:- I was not able to post with onclik word,kindly replace onpush with onclick
[ November 20, 2003: Message edited by: Praful Thakare ]

All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Moving to HTML/Javascript.

[Asking smart questions] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
you you can surround a button tag with a link tag.
I agree. Here's the link:
subject: html button and hyperlink
It's not a secret anymore!