Export (0) Print
Expand All
45 out of 55 rated this helpful - Rate this topic

javascript Protocol

Specifies that the URL is JavaScript code.

Syntax

javascript:sScript

Tokens

sScript
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>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.