[whatwg] password option for window.prompt?

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@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