JavaScript is Netscape's cross-platform, object-oriented scripting language. Core
JavaScript contains a core set of objects, such as Array, Date, and Math, and a core set of language elements such as operators, control structures, and statements. Core
JavaScript can be extended for a variety of purposes by supplementing it with additional objects; for example:
- Client-side JavaScript extends the core language by supplying objects to control a browser (Navigator or another web browser) and its Document Object Model (DOM). For example, client-side extensions allow an application to place elements on an HTML form and respond to user events such as mouse clicks, form input, and page navigation.
- Server-side JavaScript extends the core language by supplying objects relevant to running JavaScript on a server. For example, server-side extensions allow an application to communicate with a relational database, provide continuity of information from one invocation to another of the application, or perform file manipulations on a server.
JavaScript lets you create applications that run over the Internet. Client applications run in a browser, such as Netscape Navigator, and server applications run on a server, such as Netscape Enterprise Server. Using
JavaScript, you can create dynamic HTML pages that process user input and maintain persistent data using special objects, files, and relational databases.
Through
JavaScript's
LiveConnect functionality, you can let Java and
JavaScript code communicate with each other. From
JavaScript, you can instantiate Java objects and access their public methods and fields. From Java, you can access
JavaScript objects, properties, and methods.
Netscape invented
JavaScript, and
JavaScript was first used in Netscape browsers.
See also
JavaScript Guide∞.
There are no comments on this page. [Add comment]