1. Tech

Your suggestion is on its way!

An email with a link to:

http://javascript.about.com/popular.htm

was emailed to:

Thanks for sharing About.com with others!

JavaScript: Most Popular Articles

These articles are the most popular over the last month.
Looking to Download JavaScript Snippets? Here's...
You don't have to pay for JavaScript, and you don't have to write it yourself either -- unless you want to. We'll help you understand your options for finding, downloading, and customizing free JavaScript code.
Final Javascript Quiz
Learn Javascript Final Javascript Quiz Tutorials Object Oriented Javascript Defining Classes Putting
Are JavaScript and Java the Same Language?
JavaScript is a popular programming language that's built into all the major web browsers and used to make web pages interactive. This article will answer all your basic questions about what JavaScript is and how to use it -- even if you aren't a computer programmer.
What is JavaScript Used For?
Just where does JavaScript fit into the overall picture when it comes to building web pages correctly.
Analysis Quiz
Analysis Quiz 1. Quiz Head Script Basic Help Using Pre-written Scripts More of this Feature Quiz Body
Numbers to Words
Numbers to Words Join the Discussion Questions? Comments? Related Articles Formatting Numbers Roman Numerals
Do This Instead of Updating Global Variables in...
As well as being able to pass parameters to a function in JavaScript, we can also return a value from the function.
Bulletin Board / Forum Code Converter ...
Bulletin Board / Forum Code Converter Join the Discussion Questions? Comments? At some stage you will
Should You Have a Shorter IF Statement?
When you are assigning different values to a single field depending on a condition, JavaScript provides a way to combine the decision into the assignment.
Dynamic Dropdown Two Selects
Dynamic Dropdowns Based on Another Dropdown Join the Discussion Questions? Comments? More of This Feature
Adding Validation to the Submit Button ...
Validate on Submit 2. Submit Button Join the Discussion Questions? Comments? More of this Feature Why
The IF Statement
Learn Javascript The IF Statement Join the Discussion Questions? Comments? More of this Tutorial The
Using window.onload
Using window.onload Join the Discussion Questions? Comments? Some scripts require that you run something
Deleting Cookies
Deleting Cookies Join the Discussion Questions? Comments? More About Cookies Writing Cookies Reading
Modal Windows
Modal Windows Join the Discussion Questions? Comments? Related Resources Modal Dialog Box Creating a
Radio Button Validation
Radio Button Validation The setup and validation of radio buttons appears to be the form field that gives
Sample Hangman
Hangman Sample Game with Images More of this Feature The Body Script Alternate Body The Head Script The
Understanding What Order to Run JavaScript Code
What order does JavaScript run its code in?
Hex to Decimal and Decimal to Hex
Hex to Decimal and Decimal to Hex Join the Discussion Questions? Comments? A number of computer related
Why JavaScript
How should you use JavaScript so that it enhances your site.
Dynamic Dropdown Three Selects
Three Dynamic Dropdowns Sample and HTML Join the Discussion Questions? Comments? More of This Feature
Everything you Need to Know About Ajax...
When should you use asynchronous Ajax calls and when should you use synchronous.
\$ and _ in JavaScript
The $ and _ characters are treated differently in JavaScript to the way you might expect. JavaScript considers them to be letters in some circumstances rather than special characters.
JavaScript Making Decisions
You can nest one IF statement inside another using JavaScript.
External Javascripts
Learn Javascript External Javascripts Join the Discussion Questions? Comments? More of this Tutorial
Referring Site
Referring Site Join the Discussion Questions? Comments? The above line (if there is one) contains the
How Hard is JavaScript To Learn?
How difficult something is to learn depends on what you already know and how similar the new thing is to what you know.
Google Maps - Satellite Images
Google Maps Satellite Images More of this Tutorial Get an API Adding a Map Zooming In and Out Latitude
Last Modified Date
Last Modified Date Join the Discussion Questions? Comments? Are you wondering just how current the information
Print Button
Print Button Join the Discussion Questions? Comments? You can easily add a print button or link to your
Google Maps - Latitude and Longitude
Google Maps Latitude and Longitude More of this Tutorial Get an API Adding a Map Zooming In and Out Adding
The CASE Statement
Learn Javascript The CASE Statement Join the Discussion Questions? Comments? More of this Tutorial The
How to Split Webpage JavaScript into Separate...
When you first write a new JavaScript the easiest way to set it up is to embed the JavaScript code directly into the web page.
A Simple Guide to Using "Ternary" Operators in...
The ternary operator provides a shorter way of writing some JavaScript if statements as this example demonstrates.
Concentration Memory Game with Images Sa...
Concentration Memory Game With Images 1. Introduction and Sample More of this Feature Head Script Body
Everything You Need to Learn JavaScript
Want to use JavaScript on your web pages? There are several alternatives.
What Version of Javascript
What Version of Javascript Join the Discussion Questions? Comments? Glossary Javascript ECMAscript Javascript
No Right Click Script
No Right Click Script Join the Discussion Questions? Comments? Related Resources View Source Bookmarklet
Hello World
Learn JavaScript Hello World Join the Discussion Questions? Comments? More of this Tutorial Getting Started
Week of Year Date Method
Week of Year Adding to the Date Object Join the Discussion Questions? Comments? Related Resources Day
Target Window or Frame
Target Window or Frame Join the Discussion Questions? Comments? With an ordinary HTML link using the
Obtaining Your Visitor's IP Address
Obtaining Your Visitor's IP Address Join the Discussion Questions? Comments? JavaScript itself has no
How to attach JavaScript into Your Page.
How to Attach JavaScript into Your Page. Join the Discussion Questions? Comments? To be able to use JavaScript
Alternatives to eval
Alternatives to "eval" Join the Discussion Questions? Comments? One Javascript command that gets used
document.write
document.write Join the Discussion Questions? Comments? A lot of people, particularly those first starting
How to Use 'GET' and 'POST' for Server Requests...
When should you use GET and when should you use POST with Ajax.
menubar
JavaScript Glossary definition for: menubar
Calendar Generator
Create the HTML code for a calendar to add to your page
Analog Clock Script
Analog Clock 1. Introduction Basic Help Using Pre-written Scripts More of this Feature The Head Script
Day of Year Date Method
Day of Year Adding to the Date Object Join the Discussion Questions? Comments? Related Resources Week
Javascript and XHTML
Javascript and XHTML Join the Discussion Questions? Comments? With HTML pages on the web you can just
Countdown Timer
Countdown Timer 1. Introduction and Sample Basic Help Using Pre-written Scripts More of this Feature
Daylight Saving Time
Daylight Saving Time Adding Methods to the Date Object One flag missing from the information that the
JavaScript and JScript : What's the Difference?
JavaScript and JScript, different languages for different browsers.
Strings to Numbers
How to convert text strings to numbers in JavaScript.
Multiple Choice Quiz Script Sample
Multiple Choice Example Quiz Basic Help Using Pre-written Scripts Create Your Own Quiz Question/Answer
How to Identify and Fix Common Javascript Errors
Commonly made Javascript errors and how to find them
Modal Dialog Box
Modal Dialog Box Part 1 : Introduction and Sample Page Basic Help Using Pre-written Scripts More of this
Recursive Calls in JavaScript
There are two ways of setting up recursive function calls in JavaScript
How to Write a Session Cookie in Javascript
Web browsers distinguish between three different types of cookies. These types are session cookies, first party cookies, and third party cookies.
Returning Multiple Values
Returning Multiple Values Join the Discussion Questions? Comments? You can pass multiple values to a
Random Array Sort
Random Array Sort Join the Discussion Questions? Comments? Related Resources Numeric Sort Ignore Case
Slide Show Sample
Slide Show 1. Introduction and Sample Join the Discussion Questions? Comments? More of this Feature Obtain
Adding Javascript from Javascript
Adding Javascript from Javascript Join the Discussion Questions? Comments? One thing that Javascript
Disable No Right Click Scripts
Disable No Right Click Scripts Join the Discussion Questions? Comments? Related Resources View Source
Submitting after validation
Validate on Submit 3. Submit If Valid Join the Discussion Questions? Comments? More of this Feature Why
Adding Days to a Date
Adding Days to a Date Join the Discussion Questions? Comments? Adding or subtracting a number of days
Passing Parameters Via Query Strings ...
Passing Parameters Via Query Strings 1. Write Querystrings Join the Discussion Questions? Comments? More
Getting Started
Introduction to a series of tutorials on programming with JavaScript
Print Directly to Printer
An explanation of some of the reasons why Javascript can't print a page without the print dialog popping up.
Cross Browser Ticker/Marquee Example
Cross Browser Ticker/Marquee 1. Introduction and Sample Basic Help Using Pre-written Scripts More of
Quiz Script Generator
Multiple Choice Quiz Maker 1. Question/Answer Script Basic Help Using Pre-written Scripts More of this
Follow the Mouse Sample
Follow the Mouse 1. Introduction Basic Help Using Pre-written Scripts More of this Feature Obtain the
Drop Down List Validation
Drop Down List Validation Join the Discussion Questions? Comments? Validation of dropdown lists is fairly
Multiple Personality Quiz
Multiple Personality Quiz 1. Quiz Head Script Join the Discussion Questions? Comments? More of this Feature
Continuous Text Marquee Code
Continuous Text Marquee 2. Obtain the Script More of this Feature Example Add to Your Page The first
Function to Read Parameters Passed Via Q...
Passing Parameters Via Query Strings 2. The Read Function Join the Discussion Questions? Comments? More
Counting Words
Counting Words Basic Help Using Pre-written Scripts Have you ever thought that it would be useful to
Here's What JavaScript CAN'T Do
There are a few things that the JavaScript programming language does not let you do
A Brief History of Javascript
What is Javascript, who created it, and who controls the standards?
Month and Day Names
Add month and day name methods to your dates.: monday tuesday wednesday javascript language january february march april january february march numerical values
HTML in Javascript
HTML to Javascript Converter Join the Discussion Questions? Comments? To ensure that any HTML that you
Positioning the Popup Window
Changing the size of the popup window.: sans serif font left position popup windows desired position body background
Block Exit Blockers User Script
Block Exit Blockers User Script Join the Discussion Questions? Comments? Related Resources Enable Opera
Passing Parameters
Learn Javascript Passing Parameters Join the Discussion Questions? Comments? More of this Tutorial Functions
Password Generator
Password Generator Join the Discussion Questions? Comments? Tutorials How it Works For maximum security
The JavaScript Debugging Console
All but one of the popular browsers have a built in JavaScript debugger and the one exception can be easily modified to add one.
Javascript Format and Colour
Javascript Formatter Related Articles Javascript Compressor Does your Javascript code look a mess? Are
Modern Combo Boxes
HTML doesn't have a tag to produce a combo box but we can use JavaScript to create our own.
Using Increment and Decrement Operators in...
For those new to programming the difference between ++i and i++ is not obvious. Here's a simple example to explain the difference.
Google Maps - Adding a Description to a Marker
Google Maps Adding a Description to a Marker More of this Tutorial Get an API Adding a Map Zooming In
Submit the form only once
Validate on Submit 4. Avoid Multiple Submits Join the Discussion Questions? Comments? More of this Feature
Defining Classes
Learn Javascript Defining Classes Join the Discussion Questions? Comments? More of this Tutorial Object
Hiding Your Email Address
Hiding Your Email Address Join the Discussion Questions? Comments? Related Resources Email Address Validation
The JavaScript Modulo Bug
The modulo operator in JavaScript does not return the correct value for negative numbers.
Numeric Array Sort
Numeric Array Sort Join the Discussion Questions? Comments? Related Resources Ignore Case Sort Random
Addslashes and Stripslashes
Addslashes and Stripslashes Join the Discussion Questions? Comments? If you are used to programming your
Page Events
Learn Javascript Page Events Join the Discussion Questions? Comments? More of this Tutorial Form Events
Validate on Submit
Validate on Submit 1. Why Validate Join the Discussion Questions? Comments? More of this Feature Submit
Concentration Memory Game Sample
Concentration Memory Game 1. Introduction and Sample Basic Help Using Pre-written Scripts More of this
setTimeout or setInterval
setTimeout or setInterval Join the Discussion Questions? Comments? Glossary setTimeout setInterval The
JavaScript Date Selection Correcting Days in...
Date Selection Correct Days in Month Dropdown List One way of having your visitors enter a date into
Five Most Common Coding Errors
The five worst pieces of code that people use with Javascript and which you ought to avoid. Page 4.
Using Modal Dialog Box Javascript
Modal Dialog Box Part 3 : Use the Script More of this Feature Introduction and Sample Obtain the Script
JavaScript Library or Code Yourself
Should you use a JavaScript library or write all the code yourself. Both ways have advantages and disadvantages.
Unobtrusive Concentration Memory Game With...
Unobtrusive Concentration Memory Game With Images 1. Introduction and Sample Basic Help Using Pre-written
Concentration Memory Game with Images He...
Concentration Memory Game With Images 2. Head Script More of this Feature Introduction Body Script The
JavaScript By Example
Specifying a domain allows a cookie to be shared with all the sub-domains of that domain.
First Time Only
First Time Only 1. Introduction and Sample Join the Discussion Questions? Comments? More of this Feature
Mouse Cursor Position
Mouse Cursor Position Join the Discussion Questions? Comments? Until recently there was no standard way
Dynamic Dropdown Three Selects Script
Three Dynamic Dropdowns The Javascript Join the Discussion Questions? Comments? More of This Feature
Reserved Words
Reserved Words The following are Reserved Words in Javascript. This list of reserved words includes several
Converting IP Addresses
Convert easily betweeen IP address formats with JavaScript.
innerHTML
The Javascript DOM 6. innerHTML Join the Discussion Questions? Comments? More of this Feature Introduction
Piano Chord Calculator
Piano Chord Calculator 1. Introduction and Sample Basic Help Using Pre-written Scripts More of this Feature
href="#"
A # by itself in the href attribute is not valid. Sites teaching you how to write HTML and JavaScript use it as a placeholder that should be replaced in live code with a real destination.
Credit Card Validation
Validate credit card numbers in forms with this Javascript routine for validating the length and check digits.
Why You Shouldn't Use JavaScript in Emails
Why not to use JavaScript with emails? Well there are some good reasons why JavaScript and Emails don't go together.
Last Day of Month
Last Day of the Month Join the Discussion Questions? Comments? There are various times when you are doing
getElementsByClassName
The Javascript DOM 8. getElementsByClassName Join the Discussion Questions? Comments? More of this Feature
Equals, Equals Equals, or Equals Equals Equals
Using one, two or three equals signs in Javascript depending on what you need to achieve
JavaScript Alert
The JavaScript language itself provides very few debugging tools. One of the few that it does provide and perhaps the most useful is alert().
Add or Subtract Business Days
Add Business Days Adding to the Date Object Adding and subtracting days from a given date is a relatively
Disable JavaScript User Script
Disable JavaScript User Script Related Resources Enable Opera Userscripts The correct way to use JavaScript
Cross Browser Ticker/Marquee Script RtoL...
Cross Browser Ticker/Marquee 2a. Obtain the Right to Left Script More of this Feature Introduction LtoR
Long
JavaScript Glossary definition for: Long
Event Listeners
The Javascript DOM 19. Event Listeners Join the Discussion Questions? Comments? More of this Feature
Writing Cookies
Writing Cookies Join the Discussion Questions? Comments? More About Cookies Reading Cookies Deleting
Array Maximum and Minimum Values
Array Maximum and Minimum Values Join the Discussion Questions? Comments? One of the advantages to JavaScript
getElementsByTagName
The Javascript DOM 7. getElementsByTagName Join the Discussion Questions? Comments? More of this Feature
Getting Rid of document.write
The document.write statement was an essential part of early JavaScripts but is now completely unnecessary as anything that can be done with document.write can be done better using innerHTML.
JavaScript for Beginners
Before beginners to JavaScript can start writing their own scripts they first need to understand some of the basic terminology and concepts.
JavaScript Testing
There are a number of different types of error that can occur with your JavaScript. Some types of error are easier to detect than others.
javascript, example code
To delete a column we need to delete the specific cells in that column.
Related Image Match Game Sample
Related Image Match Game 1. Introduction and Sample Basic Help Using Pre-written Scripts More of this
Browser Detection
Browser Detection Join the Discussion Questions? Comments? One rather interesting statistic that you
What 'Interpreted' and 'Compiled' Means in Java
JavaScript runs as an interpreted language in the web browser. This impacts on how you need to write your code in ways you wouldn't need to worry about if it were compiled.
Creating a Combo Box
Site Navigation 7. Combo Box Join the Discussion Questions? Comments? More of this Feature Introduction
JavaScript and HTML
JavaScript and HTML Join the Discussion Questions? Comments? There are four different ways to attach
Basic Popup Windows
Popup Windows 1. Basic Popup Windows Join the Discussion Questions? Comments? With HTML you can open
A Quick Guide to Using Child Nodes in Java
The property allowing us to access the nodes contained within the current node is actually a nodelist since a node can of course contain more than one node.
Google Maps - Adding a Marker
Google Maps Adding a Marker More of this Tutorial Get an API Adding a Map Zooming In and Out Latitude
5 Remarkably Good Reasons to Avoid 'Noscript'...
The noscript tag is long past its use by date. Using JavaScript and the DOM gives much better control.
Making it Move
This is a web page object. move Web Page Animation 7. Making it Move Join the Discussion Questions? Comments?
Collapsible Menu HTML
Collapsible Menu 4. Adding Menus Join the Discussion Questions? Comments? More of this Feature Introduction
Head Scripts and Body Scripts
Head Scripts and Body Scripts Join the Discussion Questions? Comments? You don't need to be able to write
Polymorphic JavaScript Functions
JavaScript provides the ultimate in polymorphic functions as a function can rewrite itself completely.
Add Continuous Text Marquee
Continuous Text Marquee 3. Add to Your Page More of this Feature Example Obtain the Script Along with

©2015 About.com. All rights reserved.