Categories:
Main > JavaScript Tutorials

dot.gif (120 bytes) Latest Tutorials

Handling runtime errors in JavaScript using try/catch/finally
The try/catch/finally statement of JavaScript lets you dip your toes into error prune territory and "reroute" when a runtime error has occurred. Learn all about this often misunderstood statement in this tutorial.

Dynamically loading an external JavaScript or CSS file
External JavaScript or CSS files do not always have to be synchronously loaded as part of the page, but dynamically as well. In this tutorial, we'll see how to load, remove, and replace external JavaScript and CSS files on demand and asynchronously. It the era of Ajax, it's a handy thing to know.

JavaScript and memory leaks
If you're not careful, your JavaScript code may leak memory and sometimes even bring the visitor's browser to its knees. This tutorial looks at different leak patterns in JavaScript and how to fix them.

JavaScript Closures 101- they're not magic
Morris Johns explains JavaScript closures, a powerful yet often bewildering concept, in a gentle, step by step fashion.

Conditional Compilation of JScript/ JavaScript in IE
IE supports a little known feature called conditional compilation that selectively compiles any block of JScript or JavaScript depending on your script logic. Think of it as the absolute form of object detection.

External JavaScript and PHP
External JavaScript can reference not just .js files, but PHP scripts as well. See how this is done, and the wonderful possibilities linking PHP to JavaScript bring.

Changing Select element content on the fly
This tutorial explains how to change a select element's content using JavaScript, from adding new options to modifying and deleting them. It also shows how to create a 2 level interdependent select list.

Determining cookie support in client's browser
If your script relies on JavaScript cookies to store and persist information, it's a good idea to always first make sure the user's browser has cookies enabled. This tutorial shows you how to perform this detection.

Sorting and filtering a Tabular Data Control
A Tabular Data Control can easily be sorted and filtered before its data is shown on the page. The following two tutorials examine this:
- Sorting a Tabular Data Control
- Filtering a Tabular Data Control

Introduction to Tabular Data Control (IE)
Tabular Data Control is a Microsoft ActiveX control that comes pre-installed with all versions of IE4+. This useful control allows you to access, display, and sort ASCII information stored on the server end, such as a .txt file. In other words, it creates a simple client side "database." Learn about TDC and how to use JavaScript to manipulate it in this tutorial.

Introductory Guide to Regular Expressions
Always wanted to learn about Regular Expressions in JavaScript? With this comprehensive yet gentle tutorial on the subject, you'll be on your way to slashing and validating string input using Regular Expressions in no time! 

Programmer's Guide to Regular Expressions
Concise, to-the-point tutorial on Regular Expressions with sections on more advanced aspects of the feature.

JavaScript and Object Oriented Programming (OOP)
JavaScript may not be known for its object oriented properties, but it does support most of the features required to be considered an Object Oriented language. See how to write OOP code in JavaScript.

Formatting numbers for decimals and significant digits
Need to display a number in currency format? How about a number that is x digits in length? See how to easily, using two new methods of JavaScript 1.5+.

dot.gif (120 bytes) Tutorial Index

.
Introductory Tutorials

Forms and form validation

External JavaScript

JavaScript cookies

Math & Random scripts

Variables and functions

Regular Expressions

JavaScript with content

Date & Time

Interacting with images

Windows and frames

Strings (text)

Arrays and loops

Objects and entities

Browser detection

Error handling

Keyboard and printer interaction

Tabular Data Control (IE only)

Other tutorials

Comprehensive list of JavaScript questions and answers.

Book Reviews


Pro JavaScript Techniques

"JavaScript The Definitive Guide 5th edition" review


Professional JavaScript for Web Developers review


JavaScript and DHTML cookbook review

JavaScript Tools:
Site Info

- CSS Library
- Web Templates
- HP Q2612A Toner Cartridge
- JavaScript Community
- Software Geek
- Web hosting

CopyRight © 1998-2008 JavaScript Kit. NO PART may be reproduced without author's permission.