JavaScript Guidelines and Best Practice
- Introduction
- JavaScript
- JavaScript Guidelines
- JavaScript Best Practice
- Inline JavaScript source code
- The JavaScript language version
- Hiding JavaScript source code from the browser
- Commenting JavaScript and HTML code
- Semi-colons
- Double and Single Quotes
- Scripting HTML tags
- The NOSCRIPT tag
- Image Swapping
- JavaScript within Tables
- Frame Detection
- JavaScript Links
- Avoid using void()
- JavaScript Performance
- Select Form Fields
- Changing location
- Opening Windows
- JavaScript Entities
- JavaScript Source Files
- References and Bibliography
Introduction
REF [1] Netscape JavaScript, also called client side JavaScript (CSJS) allows a client browser to display HTML and execute JavaScript code resulting in a page that the user sees. JavaScript statements embedded in an HTML page can respond to user events such as mouse-clicks, form input, and page navigation.
Javascript Best Practices
Introduction
This document is a list of best practices and preferred ways of developing javascript code, based on opinions and experience from many developers in the javascript community. Since this is a list of recommendations rather than a list of absolute rules, experienced developers may have slightly differing opinions from those expressed below.
