INFO: JavaScript Entities Not Supported in Internet Explorer 4.0

ID: Q190280


The information in this article applies to:


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:

http://developer.netscape.com/docs/manuals/communicator/jsref/index.htm

Additional query words: kbIE kbHTML kbScript kbJScript


Keywords          : kbhtml kbIE kbJScript kbScript kbDSupport 
Version           : WINDOWS:1.0,2.0,3.0,3.01,3.02,4.0,4.01,4.01 SP1,5.0dp1
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: July 22, 1999