[thelist] redirect on button click?
Leo Wiedersheim
Leo.Wiedersheim at roxy.com
Tue, 18 Jan 2000 14:51:38 -0500
Anthony,
Thanks for your help. Here is what does it for me:
<input type="button" value="Show All"
OnClick="window.location='http://www.campaigncollectibles.com/search_results
.asp'" id=button1 name=button1>
<tip>
The Netscape JavaScript Guide:
http://developer.netscape.com/docs/manuals/communicator/jsguide4/index.htm
</tip>
Leo.
~
Leo P. Wiedersheim, Jr.
leo@wiedersheim.com
http://www.Wiedersheim.com
http://www.CampaignCollectibles.com
-----Original Message-----
From: Anthony Baratta [mailto:Anthony@Baratta.com]
Sent: Tuesday, January 18, 2000 1:57 PM
To: thelist@lists.evolt.org
Subject: Re: [thelist] redirect on button click?
Leo Wiedersheim wrote:
>
> Howdy,
> How does one redirect to a URL on the click of an input type="button"?
> Thanks a bunch,
Off the top of my head -
OnClick="window.location.href = http://www.foo.com"
Or something close to that. ;-)