Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #20298

Re: Button doing work as a hot link ??

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: Button doing work as a hot link ??
Date Sat, 15 Jun 2013 06:05:10 +0000 (UTC)
Organization A noiseless patient Spider
Lines 22
Message-ID <kph06m$su9$3@dont-email.me> (permalink)
References <b222a4F6mg4U1@mid.individual.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Sat, 15 Jun 2013 06:05:10 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="66ffcfa4470a58bcddbdcd1913f98ab4"; logging-data="29641"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XoQ6q6VfZfk4HjGsmxOLxn2o892iCOrQ="
User-Agent Pan/0.136 (I'm far too busy being delicious; GIT 926a150 git://git.gnome.org/pan2)
Cancel-Lock sha1:v36y9MPSZTqE0XhcYX569GqPl6g=
Xref csiph.com comp.lang.javascript:20298

Show key headers only | View raw


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


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