Gossamer Forum
Home : General : Perl Programming :

Button to transfer to URi

Quote Reply
Button to transfer to URi
Hi

Another famous mental block.. what is the code I need (I don't want a form tag) just to put a button on the page, like a submit one, when pressed it goes to a URi?

Thanks.

- wil
Post deleted by RedRum In reply to

Last edited by:

RedRum: Feb 22, 2002, 8:08 AM
Quote Reply
Re: [RedRum] Button to transfer to URi In reply to
Paul

Why delete that post? That was perfectly valid code.

- wil
Quote Reply
Re: [Wil] Button to transfer to URi In reply to
I thought I'd mis-interpreted the word URI

FWIW here it is again:

<button onclick="javascript:location.href='http://www.someurl.com'">Click Me</button>
Quote Reply
Re: [RedRum] Button to transfer to URi In reply to
Um, yeah, so what is the difference between URL and URI?

Uniform Resource Locator
Uniform Resource Indicator (>maybe? - and if so, what does it mean)?

- wil
Quote Reply
Re: [Wil] Button to transfer to URi In reply to
A URI is a pointer to an object on the World Wide Web. The most common URI is the URL.

Last edited by:

RedRum: Feb 22, 2002, 8:43 AM
Quote Reply
Re: [RedRum] Button to transfer to URi In reply to
You mean on the internet, not only on the world wide web?

- wil
Quote Reply
Re: [Wil] Button to transfer to URi In reply to
http://www.w3.org/Addressing/
Quote Reply
Re: [RedRum] Button to transfer to URi In reply to
Thanks. It seems that URi = URL then.

- wil