[whatwg] password option for window.prompt?

Kristof Zelechovski giecrilj at stegny.2a.pl
Tue May 22 12:44:32 PDT 2007


That dot was actually … to indicate some text.  The list server is
kind enough to replace … with a single dot.  I shall use …
from now on.
Chris

-----Original Message-----
From: whatwg-bounces at 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>






More information about the whatwg mailing list