Article ID: 190280
Article Last Modified on 5/11/2006
APPLIES TO
- Microsoft Internet Explorer 3.01
- Microsoft Internet Explorer 3.02
- Microsoft Internet Explorer 4.0 128-Bit Edition
- Microsoft Internet Explorer 4.01 Service Pack 2
- Microsoft Internet Explorer 4.01 Service Pack 1
- Microsoft JScript 1.0
- Microsoft JScript 2.0
- Microsoft JScript 3.0
This article was previously published under Q190280
SUMMARY
JavaScript entities are a method supported in Netscape Navigator 3.0 and later that assign JavaScript code to an HTML tag attribute.
Entities takes the following form:
<tag attribute="&{ javascript-statements };">
This technique is not supported in Internet Explorer.
MORE INFORMATION
In Netscape Navigator, the following HTML page displays a prompt while rendering and dynamically sets its background color to the entered value.
This code does not work in Internet Explorer.
<HTML> <HEAD><TITLE>Javascript Entity Test</TITLE></HEAD> <BODY BGCOLOR="&{prompt("color?");};"> </BODY> </HTML>
REFERENCES
For more information about Netscape Navigator's JavaScript specification, see the following Web page:
Additional query words: kbIE kbHTML kbScript kbJScript
Keywords: kbhtml kbinfo kbscript KB190280