In general...
JavaScript follows the same syntax used in C++/Java. JavaScript is primarily used on the web for client-side scripting and allows for dynamically interacting with the user while the page is loading, after the page has been loaded, and before the page is left. Unlike server-side scripting, JavaScript is visible to the entire world by right-clicking within the page and selecting "View Source".
Many JavaScript libraries have been developed to aid web developers. One noteworthy one is jQuery which gives the user the ability to select HTML objects using CSS-like selectors. I have released a different type of JavaScript library called jPaq. The difference between jPaq and other JavaScript libraries is the fact that it gives you the ability to download only what you want. Therefore, even though the entire library starts off small, you can make it even smaller by selecting which functions, objects and classes you want to be included in the library. Please check out jPaq which is found at http://www.jpaq.org/.
Examples
- Calendar - A calendar that loads by using JavaScript.
- Dynamic Links - See how to use JavaScript change what a link points to or what it says.
- Dynamic Table - Add or remove table cells with JavaScript.
- Event Handling - Using JavaScript with various HTML events can come in handy when creating web pages.
- Form Validation - See a web page use JavaScript for simple form validation.
- JavaScript Sandbox - Test out JavaScript code with the click of a button.
- Wormbites Classic - Play a game which uses JavaScript to allow a user to play snake game.
- You may have noticed that the background for the title is constantly changing colors. Along with that, if text may change colors from time to time to prevent the text from blending into the background. This animated effect is possible because of JavaScript (specifically JXtension). Without JavaScript, some other animation or object would have to be loaded from a different source such as Flash or an animated GIF file.
Related Search Results
- JavaScript - Dynamically Changing Links:
Illustrates how to dynamically change links using JavaScript. - JavaScript - Dynamic Interaction:
Learn how to handle events with plain JavaScript. - Wormbites 2008 (Desktop Version):
The ultimate Snake game with multiple brain-teasing levels. You can also custom design you own levels. - JXtension - A Small, Yet Powerful JavaScript Library:
JXtension is a small, yet powerful JavaScript library. - JScript - Modified Alert Box:
Use the alert function in any stand-alone JScript.
Powered by jPaq.