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


Groups > comp.lang.javascript > #14196

Re: Newbie, want onclick to work, using Verizon sitebuilder

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!217.188.199.168.MISMATCH!takemy.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Content-Type text/plain; charset="ISO-8859-1"
Message-ID <3596002.OIYgp5SubR@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Organization PointedEars Software (PES)
Date Tue, 29 May 2012 13:51:54 +0200
User-Agent KNode/4.4.11
Content-Transfer-Encoding 7Bit
X-Face %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v
Face iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg==
Subject Re: Newbie, want onclick to work, using Verizon sitebuilder
Newsgroups comp.lang.javascript
References <7fr7s7p34k5b7oc8hi82ncafhtng4tobo1@4ax.com> <01c8s75sghli0aiofi8uabcun9k7n23nlj@4ax.com>
Followup-To comp.lang.javascript
MIME-Version 1.0
Lines 44
NNTP-Posting-Date 29 May 2012 13:52:02 CEST
NNTP-Posting-Host 7c0e1f73.newsspool4.arcor-online.net
X-Trace DXC=mb1d<_?o93W<<0iRN7DLEQ4IUK<Cl32<Q4Fo<]lROoRQ8kF<OcfhCO[?F<P;FJ26_RDZm8W4\YJN\J`:FmdeL>KPU@3`]Ai;BfRBg1L_C=eVT]
X-Complaints-To usenet-abuse@arcor.de
Xref csiph.com comp.lang.javascript:14196

Followups directed to: comp.lang.javascript

Show key headers only | View raw


Jeff North wrote:

> micky wrote:
>>| Newbie, working on first page.  I appreciate any help you can give me.
>>| 
>>| Parts of this are going well but with Verizon I'm forced to use
>>| sitebuilder by Trellix.   I'm not ready yet to pay to use another
>>| wehosting site, because I only have a few weeks to work on this, but
>>| then I won't be able to for a year or two.
>>| 
>>| 1) What is wrong with this:
>>| <INPUT value="Favorite Page" type=button
>>|  onclick="<A href="https://www.myfavoritesite.com"> </A> >
> 
> Note the quotes in the above line. You are missing the closing quote
> for the onclick statement.

`onclick' is an *attribute* here, _not_ a statement.  HTML is _not_ a 
programming language, it is a *markup* language.

> You will need to rework this line to:
> onclick="<A href='https://www.myfavoritesite.com'> </A>" >
> or if you want double quotes throughout the line you will need:
> onclick="<A href=\"https://www.myfavoritesite.com\"> </A>" >

Utter nonsense.  The value of the `onclick' attribute must be program code, 
without further specification, a syntactically correct ECMAScript /Program/.  
It MUST NOT contain an unescaped `<' character for that is a an STAGO (star 
tag open) delimiter.  ECMAScript escape sequences *cannot* be used to escape 
markup delimiters as the markup parser will still see them.  (And the value 
of the `onclick' property must be `null' or a reference to a Function 
instance.  The above is neither.)

Please get a minimum clue before you try to help.  Nobody is helped by 
people posting their smattering here; free time of regulars is wasted with 
otherwise unnecessary corrections.  You are not required to reply, you know.


PointedEars
-- 
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Newbie, want onclick to work, using Verizon sitebuilder micky <NONONOmisc07@bigfoot.com> - 2012-05-28 18:01 -0400
  Re: Newbie, want onclick to work, using Verizon sitebuilder Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-05-29 00:25 +0200
  Re: Newbie, want onclick to work, using Verizon sitebuilder Jeff North <jnorthau@yahoo.com.au> - 2012-05-29 12:13 +1000
    Re: Newbie, want onclick to work, using Verizon sitebuilder Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-05-29 13:51 +0200
      Re: Newbie, want onclick to work, using Verizon sitebuilder Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-05-29 14:06 +0200
  Re: Newbie, want onclick to work, using Verizon sitebuilder Gene Wirchenko <genew@ocis.net> - 2012-05-28 21:32 -0700
    Re: Newbie, want onclick to work, using Verizon sitebuilder micky <NONONOmisc07@bigfoot.com> - 2012-05-29 13:55 -0400
      Re: Newbie, want onclick to work, using Verizon sitebuilder Gene Wirchenko <genew@ocis.net> - 2012-05-29 11:26 -0700
        Re: Newbie, want onclick to work, using Verizon sitebuilder micky <NONONOmisc07@bigfoot.com> - 2012-06-23 14:03 -0400
  Re: Newbie, want onclick to work, using Verizon sitebuilder Dr J R Stockton <reply1222@merlyn.demon.co.uk.not.invalid> - 2012-05-29 23:49 +0100
  Re: Newbie, want onclick to work, using Verizon sitebuilder SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-05-30 15:13 +0200
    Re: Newbie, want onclick to work, using Verizon sitebuilder micky <NONONOmisc07@bigfoot.com> - 2012-06-23 15:26 -0400

csiph-web