W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2007

[whatwg] password option for window.prompt?

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Tue, 22 May 2007 21:44:32 +0200
Message-ID: <000a01c79ca9$9f244970$1a01080a@POCZTOWIEC>
That dot was actually &hellip; to indicate some text.  The list server is
kind enough to replace &hellip; with a single dot.  I shall use &amp;hellip;
from now on.

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Tom Pike
Sent: Tuesday, May 22, 2007 9:37 PM
To: Kristof Zelechovski
Cc: whatwg at whatwg.org
Subject: Re: [whatwg] password option for window.prompt?

Kristof Zelechovski wrote:
> Forgive my being nosy: which uses?
> a href="javascript:." is valid

"." is not syntactically correct Javascript so script execution would be
aborted and it would be treated as a standard link.

Try something like:

<a href="javascript:alert('hi there');">Hi</a>
Received on Tuesday, 22 May 2007 12:44:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:55 UTC