Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #20298
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Button doing work as a hot link ?? |
| Date | 2013-06-15 06:05 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <kph06m$su9$3@dont-email.me> (permalink) |
| References | <b222a4F6mg4U1@mid.individual.net> |
On Fri, 14 Jun 2013 20:36:50 -0600, Mel Smith wrote:
> <div id="ihoturl">
> <form id="ihotlink" action="http://www.google.com">
> <input type="button" onclick="gohotlink()" value="Visit the WebSite" />
> </form>
> </div>
>
> JS:
>
> function gohotlink() {
> var linkobj = getobj("ihotlink") ;
> linkobj.submit() ;
> }
>
> **********************************
See http://www.sined.co.uk/tmp/urlbutton.htm for a couple of alternative
approaches you could use.
--
Denis McMahon, denismfmcmahon@gmail.com
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Button doing work as a hot link ?? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-14 20:36 -0600
Re: Button doing work as a hot link ?? Denis McMahon <denismfmcmahon@gmail.com> - 2013-06-15 06:05 +0000
Re: Button doing work as a hot link ?? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-15 08:53 -0600
Re: Button doing work as a hot link ?? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-15 10:35 -0600
Re: Button doing work as a hot link ?? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-06-15 11:53 +0300
Re: Button doing work as a hot link ?? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-15 09:10 -0600
Re: Button doing work as a hot link ?? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-06-15 19:23 +0300
Re: Button doing work as a hot link ?? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-15 13:09 -0600
Re: Button doing work as a hot link ?? JJ <duh@nah.meh> - 2013-06-15 17:49 +0700
Re: Button doing work as a hot link ?? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-06-15 09:27 -0600
Re: Button doing work as a hot link ?? "ViLco" <villiber@tin.it> - 2013-07-09 10:24 +0200
Re: Button doing work as a hot link ?? "Mel Smith" <med_cutout_syntel@aol.com> - 2013-07-09 09:50 -0600
Re: Button doing work as a hot link ?? "ViLco" <villiber@tin.it> - 2013-07-10 13:39 +0200
csiph-web