Click to return to the Networking, Protocols     
HTTPS Protocol     Mailto Protocol     Predefined Protocols    
Web Workshop  |  Networking, Protocols & Data Formats

JavaScript Protocol


Specifies that the URL is JavaScript code.

Syntax

javascript:sJScript

Possible Values

sJScript Required. Specifies one or more semicolon-separated JavaScript statements.

Remarks

Available as of Microsoft® Internet Explorer 3.0 or later.

Example

The following sample demonstrates the use of the JavaScript protocol.

<A HREF="javascript:alert('JavaScript Link!');">
JavaScript Link
</A>


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.