You are here: Reference > JavaScript
JavaScript
The JavaScript language has three components:
- Core JavaScript is the base part of the JavaScript language that is supported on both the client and server side.
- Client-side JavaScript (CSJS) contains the core JavaScript elements and has several additional objects, properties and methods that are supported by browsers.
- Server-side JavaScript (SSJS) also contains the core JavaScript elements and it has additional features supported by server-side products.
Dottoro provides you a complete standard and browser specific Core and Client-side JavaScript reference with detailed descriptions, syntax, examples, browser support information, cross-browser solutions and much more.
The JavaScript language was originally created to develop dynamic web sites on the client side, but nowadays there are several server-side applications that can interpret it.
For a list of server-side applications that support the JavaScript language, please visit the Server-side JavaScript (Wikipedia) page.
JavaScript is primarily used for event handling, form validation, DOM and style manipulation, browser detection, animation and more.
- One of the advantages of Client-side JavaScript is that user actions can be handled on the user’s computer, thus drastically reducing server traffic and load time. For example, you can validate a form before submitting it, so if the user filled the form incorrectly, you do not need to send the data to the server to check it.
- Another advantage of JavaScript is that you can register handler functions for events, so you can show or hide elements on mouse clicks, you can change the style settings of elements on mouse over, you can fill the contents of a dropdown list depending on the selected item of another dropdown list (countries – cities) and so on.
- Furhermore, you can register functions to be called periodically (setTimeout) so you can create animations.
- Finally, you can communicate with the server in the background, without reloading the page (AJAX).
Unfortunately, client side scripting has a drawback; sometimes different browsers support different language elements.
That is the reason why the Dottoro web reference describes all JavaScript language elements with browser support information and cross-browser instructions.
Contents:
- core
- client-side
- AJAX and XML handling
- ActiveX objects
- Attribute handling objects, properties and methods
- Box and Rectangle objects
- Browser detection, browser related objects, properties and methods
- Content handling properties and methods
- DHTML elements
- Dialog handling
- Element handling objects, properties and methods
- Event handling
- Placement and dimensions related objects, properties and methods
- Selection and ranges
- Style handling
- appendix
External links:
User Contributed Comments