[whatwg] password option for window.prompt?

Tom Pike tom.pike at xiven.com
Tue May 22 12:36:44 PDT 2007


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>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070522/ce93e9a6/attachment-0001.pgp>


More information about the whatwg mailing list