[whatwg] password option for window.prompt?

Maciej Stachowiak mjs at apple.com
Tue May 22 12:41:55 PDT 2007


On May 22, 2007, at 12:16 PM, Kristof Zelechovski wrote:

> Forgive my being nosy: which uses?
> a href="javascript:." is valid but it replaces the current document  
> with a
> document parsed from the textual representation of the value  
> returned from
> the script.

If the javascript: URI returns the undefined value (such as by using  
the void operator or by calling a method with no return type), then  
the target document is not replaced, but the side effect still occurs.

Regards,
Maciej




More information about the whatwg mailing list