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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Pike
Sent: Tuesday, May 22, 2007 9:37 PM
To: Kristof Zelechovski
Cc: [EMAIL PROTECTED]
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>



Reply via email to