- From: Tom Pike <tom.pike@xiven.com>
 - Date: Tue, 22 May 2007 21:36:44 +0200
 
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.pgp>
Received on Tuesday, 22 May 2007 12:36:44 UTC