Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #14198
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail |
|---|---|
| Content-Type | text/plain; charset="UTF-8" |
| Message-ID | <2739298.Xl3DxExJP4@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 14:06:05 +0200 |
| User-Agent | KNode/4.4.11 |
| Content-Transfer-Encoding | 8Bit |
| 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> <3596002.OIYgp5SubR@PointedEars.de> |
| Followup-To | comp.lang.javascript |
| MIME-Version | 1.0 |
| Lines | 37 |
| NNTP-Posting-Date | 29 May 2012 14:06:06 CEST |
| NNTP-Posting-Host | 781a91ca.newsspool4.arcor-online.net |
| X-Trace | DXC=G3W\<YTLRm^mG86`U=_nC_4IUK<Cl32<Q4Fo<]lROoRQ8kF<OcfhCO[lY=Qggn==W_DZm8W4\YJN\J`:FmdeL>KPU@3`]Ai;BfRk:?JKCH^FAT |
| X-Complaints-To | usenet-abuse@arcor.de |
| Xref | csiph.com comp.lang.javascript:14198 |
Followups directed to: comp.lang.javascript
Show key headers only | View raw
Thomas 'PointedEars' Lahn wrote:
> Jeff North wrote:
>> 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
^t
> used to escape markup delimiters as the markup parser will still see them.
Clarification: ECMAScript escape sequences cannot be used to escape markup
delimiters *if* the escape sequence *still* contains the markup delimiters.
In this case, markup escape sequences –
onclick="<A href="https://www.myfavoritesite.com"> </A>"
– or ECMAScript escape sequences –
onclick="\x3cA href=\x22https://www.myfavoritesite.com\x22> \x3c/A>"
– could be used to make this Valid *markup*, but the attribute value would
still not be the required syntactically valid ECMAScript program, as
<A href="https://www.myfavoritesite.com"> </A>
is _not_ one (`<' is an operator, the operand left-hand side is missing, to
begin with).
PointedEars
--
When all you know is jQuery, every problem looks $(olvable).
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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