Knowledge Base

INFO: JavaScript Entities Not Supported in Internet Explorer 4.0

Article ID: 190280

Article Last Modified on 5/11/2006


APPLIES TO


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