How is JavaScript different from Java?
The JavaScript programming language, developed by Netscape, Inc., is not part of the Java platform.
JavaScript does not create applets or stand-alone applications. In its most common form, JavaScript resides inside HTML documents, and can provide levels of interactivity to web pages that are not achievable with simple HTML.
Key differences between Java and JavaScript:- Java is an OOP programming language while Java Script is an OOP scripting language.
- Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only.
- Java code needs to be compiled while JavaScript code are all in text.
- They require different plug-ins.
For additional information about JavaScript, visit Mozilla.org
JavaScript Error javascript.JSException: Unknown name
When loading the webpage an error is displayed:JavaScript Error javascript.JSException: Unknown name
Possible causes:
- JavaScript is not enabled in the browser.
- The browser does not support JavaScript technology.
- The web page has a JavaScript programming error.
If JavaScript is already enabled in the web browser, then the error message indicates that there is a programming error in the JavaScript code. Contact the webmaster of that site to report the error including:
- Error message
- Type and version of the browser used
- URL of the web page that displayed the error message
- Steps to reproduce the error