1. Technology

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
Referring Site
Referring Site Join the Discussion Questions? Comments? The above line (if there is one) contains the
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.
Using window.onload
Using window.onload Join the Discussion Questions? Comments? Some scripts require that you run something
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.
Analysis Quiz
Analysis Quiz 1. Quiz Head Script Basic Help Using Pre-written Scripts More of this Feature Quiz Body
What is JavaScript Used For?
Just where does JavaScript fit into the overall picture when it comes to building web pages correctly.
Numbers to Words
Numbers to Words Join the Discussion Questions? Comments? Related Articles Formatting Numbers Roman Numerals
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.
Modal Windows
Modal Windows Join the Discussion Questions? Comments? Related Resources Modal Dialog Box Creating a
Adding Validation to the Submit Button ...
Validate on Submit 2. Submit Button Join the Discussion Questions? Comments? More of this Feature Why
Dynamic Dropdown Two Selects
Dynamic Dropdowns Based on Another Dropdown Join the Discussion Questions? Comments? More of This Feature
Radio Button Validation
Radio Button Validation The setup and validation of radio buttons appears to be the form field that gives
Print Button
Print Button Join the Discussion Questions? Comments? You can easily add a print button or link to your
Dynamic Dropdown Three Selects
Three Dynamic Dropdowns Sample and HTML Join the Discussion Questions? Comments? More of This Feature
Everything You Need to Learn JavaScript
Want to use JavaScript on your web pages? There are several alternatives.
Everything you Need to Know About Ajax...
When should you use asynchronous Ajax calls and when should you use synchronous.
The IF Statement
Learn Javascript The IF Statement Join the Discussion Questions? Comments? More of this Tutorial The
Obtaining Your Visitor's IP Address
Obtaining Your Visitor's IP Address Join the Discussion Questions? Comments? JavaScript itself has no
JavaScript Library or Code Yourself
Should you use a JavaScript library or write all the code yourself. Both ways have advantages and disadvantages.
JavaScript Functions
There is a selection of open source javaScript libraries that you can use as the basis for the JavaScript in your 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.
Understanding What Order to Run JavaScript Code
What order does JavaScript run its code in?
Deleting Cookies
Deleting Cookies Join the Discussion Questions? Comments? More About Cookies Writing Cookies Reading
document.write
document.write Join the Discussion Questions? Comments? A lot of people, particularly those first starting
Drop Down List Validation
Drop Down List Validation Join the Discussion Questions? Comments? Validation of dropdown lists is fairly
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
Bulletin Board / Forum Code Converter ...
Bulletin Board / Forum Code Converter Join the Discussion Questions? Comments? At some stage you will
Calendar Generator
Create the HTML code for a calendar to add to your page
No Right Click Script
No Right Click Script Join the Discussion Questions? Comments? Related Resources View Source Bookmarklet
External Javascripts
Learn Javascript External Javascripts Join the Discussion Questions? Comments? More of this Tutorial
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.
Hello World
Learn JavaScript Hello World Join the Discussion Questions? Comments? More of this Tutorial Getting Started
Passing Parameters
Learn Javascript Passing Parameters Join the Discussion Questions? Comments? More of this Tutorial Functions
Target Window or Frame
Target Window or Frame Join the Discussion Questions? Comments? With an ordinary HTML link using the
JavaScript Making Decisions
You can nest one IF statement inside another using JavaScript.
Passing Parameters Via Query Strings ...
Passing Parameters Via Query Strings 1. Write Querystrings Join the Discussion Questions? Comments? More
Modal Dialog Box
Modal Dialog Box Part 1 : Introduction and Sample Page Basic Help Using Pre-written Scripts More of this
Hex to Decimal and Decimal to Hex
Hex to Decimal and Decimal to Hex Join the Discussion Questions? Comments? A number of computer related
Recursive Calls in JavaScript
There are two ways of setting up recursive function calls in JavaScript
How to Use 'GET' and 'POST' for Server Requests...
When should you use GET and when should you use POST with Ajax.
\$ 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.
Strings to Numbers
How to convert text strings to numbers in JavaScript.
Disable No Right Click Scripts
Disable No Right Click Scripts Join the Discussion Questions? Comments? Related Resources View Source
JavaScript By Example
JavaScript allows you to pass a function to another function as a parameter and then call back to that function from within the function you pass it to.
Function to Read Parameters Passed Via Q...
Passing Parameters Via Query Strings 2. The Read Function Join the Discussion Questions? Comments? More
Why JavaScript
How should you use JavaScript so that it enhances your site.
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.
Returning Multiple Values
Returning Multiple Values Join the Discussion Questions? Comments? You can pass multiple values to a
innerHTML
The Javascript DOM 6. innerHTML Join the Discussion Questions? Comments? More of this Feature Introduction
Week of Year Date Method
Week of Year Adding to the Date Object Join the Discussion Questions? Comments? Related Resources Day
Defining Classes
Learn Javascript Defining Classes Join the Discussion Questions? Comments? More of this Tutorial Object
Using Modal Dialog Box Javascript
Modal Dialog Box Part 3 : Use the Script More of this Feature Introduction and Sample Obtain the Script
Creating a Combo Box
Site Navigation 7. Combo Box Join the Discussion Questions? Comments? More of this Feature Introduction
Multiple Choice Quiz Script Sample
Multiple Choice Example Quiz Basic Help Using Pre-written Scripts Create Your Own Quiz Question/Answer
Adding Days to a Date
Adding Days to a Date Join the Discussion Questions? Comments? Adding or subtracting a number of days
Positioning the Popup Window
Changing the size of the popup window.: sans serif font left position popup windows desired position body background
Back Button
Back Button or Link Join the Discussion Questions? Comments? So you would like to put a link on your
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
Submitting after validation
Validate on Submit 3. Submit If Valid Join the Discussion Questions? Comments? More of this Feature Why
Page Events
Learn Javascript Page Events Join the Discussion Questions? Comments? More of this Tutorial Form Events
The CASE Statement
Learn Javascript The CASE Statement Join the Discussion Questions? Comments? More of this Tutorial The
Convert to Roman Numerals
Convert to Roman Numerals Join the Discussion Questions? Comments? Elsewhere on About What are Roman
Mouse Cursor Position
Mouse Cursor Position Join the Discussion Questions? Comments? Until recently there was no standard way
Basic Popup Windows
Popup Windows 1. Basic Popup Windows Join the Discussion Questions? Comments? With HTML you can open
Adding Javascript from Javascript
Adding Javascript from Javascript Join the Discussion Questions? Comments? One thing that Javascript
First Time Only
First Time Only 1. Introduction and Sample Join the Discussion Questions? Comments? More of this Feature
Array Maximum and Minimum Values
Array Maximum and Minimum Values Join the Discussion Questions? Comments? One of the advantages to JavaScript
JavaScript and JScript : What's the Difference?
JavaScript and JScript, different languages for different browsers.
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
Thumbnail Image Popups
Popup Windows 8. Thumbnail Image Popups Join the Discussion Questions? Comments? More of this Feature
Sample Hangman
Hangman Sample Game with Images More of this Feature The Body Script Alternate Body The Head Script The
Javascript and XHTML
Javascript and XHTML Join the Discussion Questions? Comments? With HTML pages on the web you can just
How to Identify and Fix Common Javascript Errors
Commonly made Javascript errors and how to find them
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.
Alternatives to eval
Alternatives to "eval" Join the Discussion Questions? Comments? One Javascript command that gets used
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.
Print Directly to Printer
An explanation of some of the reasons why Javascript can't print a page without the print dialog popping up.
setTimeout or setInterval
setTimeout or setInterval Join the Discussion Questions? Comments? Glossary setTimeout setInterval The
Quiz Script Generator
Multiple Choice Quiz Maker 1. Question/Answer Script Basic Help Using Pre-written Scripts More of this
JavaScript By Example: Get Parent Node
Node properties don't just include pointers to the immediately adjacent sibling nodes, there is also a pointer to the parent node (the tag within which the current element or text is contained).
Writing Cookies
Writing Cookies Join the Discussion Questions? Comments? More About Cookies Reading Cookies Deleting
Validate on Submit
Validate on Submit 1. Why Validate Join the Discussion Questions? Comments? More of this Feature Submit
Window Close
Window Close Join the Discussion Questions? Comments? In my series of articles on popup windows I go
Learn JavaScript Basics (Objects, Functions,...
A series of example JavaScript that shows you how to write JavaScript.
JavaScript Date Selection Correcting Days in...
Date Selection Correct Days in Month Dropdown List One way of having your visitors enter a date into
Continuous Text Marquee Code
Continuous Text Marquee 2. Obtain the Script More of this Feature Example Add to Your Page The first
Last Modified Date
Last Modified Date Join the Discussion Questions? Comments? Are you wondering just how current the information
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
The Javascript Tooltip
This is a Javascript Tooltip Please visit my site Extended Tooltip 1. Introduction and Sample Basic Help
Drop Down Lists
Site Navigation 1. Introduction Join the Discussion Questions? Comments? More of this Feature Drop Down
getElementsByClassName
The Javascript DOM 8. getElementsByClassName 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.
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.
Submit the form only once
Validate on Submit 4. Avoid Multiple Submits Join the Discussion Questions? Comments? More of this Feature
First Time Only Script
First Time Only 2. Obtain the Script Join the Discussion Questions? Comments? More of this Feature Introduction
Counting Words
Counting Words Basic Help Using Pre-written Scripts Have you ever thought that it would be useful to
Calendar Popup Script
Calendar Popups 1. The Calendar Script Join the Discussion Questions? Comments? More of this Feature
Block Exit Blockers User Script
Block Exit Blockers User Script Join the Discussion Questions? Comments? Related Resources Enable Opera
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
Random Array Sort
Random Array Sort Join the Discussion Questions? Comments? Related Resources Numeric Sort Ignore Case
JavaScript and HTML
JavaScript and HTML Join the Discussion Questions? Comments? There are four different ways to attach
How to Use Optional Parameter Functions in...
JavaScript has its own unique way of handling where you want parameters to your function to be optional.
Event Listeners
The Javascript DOM 19. Event Listeners 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
Google Maps - Satellite Images
Google Maps Satellite Images More of this Tutorial Get an API Adding a Map Zooming In and Out Latitude
Hiding Your Email Address
Hiding Your Email Address Join the Discussion Questions? Comments? Related Resources Email Address Validation
Limiting Textarea Text Example
Limiting Textarea Text 1. Introduction and Sample Join the Discussion Questions? Comments? More of this
Alert and Confirm
Learn Javascript Alert and Confirm Join the Discussion Questions? Comments? More of this Tutorial Comments
Faster Loading Web Pages
Faster Loading Web Pages Having any JavaScript in your web page will slow down the loading of the page.
What Version of Javascript
What Version of Javascript Join the Discussion Questions? Comments? Glossary Javascript ECMAscript Javascript
Dynamic Dropdown Three Selects Script
Three Dynamic Dropdowns The Javascript Join the Discussion Questions? Comments? More of This Feature
Disable JavaScript User Script
Disable JavaScript User Script Related Resources Enable Opera Userscripts The correct way to use JavaScript
Tools for Making JavaScript
What tools do you need to write JavaScript?
Using NOSCRIPT
Learn Javascript Using Noscript Join the Discussion Questions? Comments? More of this Tutorial External
JavaScript Encryption
JavaScript Encryption Join the Discussion Questions? Comments? There are a number of things that are
Disabling the Default Action
How to bypass the default action when you have alternate Javascript processing to replace it.
Day of Year Date Method
Day of Year Adding to the Date Object Join the Discussion Questions? Comments? Related Resources Week
Defining Variables
Learn Javascript Defining Variables Join the Discussion Questions? Comments? More of this Tutorial Getting
Built-in Functions: alert, confirm, prompt
JavaScript provides built in functions to display dialog boxes
Google Maps - Multiple Maps on One Page
Google Maps Multiple Maps on One Page More of this Tutorial Get an API Adding a Map Zooming In and Out
Copying Objects in Javascript
There is more than one way of copying objects in JavaScript depending on just exactly how you intend using the copy.
Add Continuous Text Marquee
Continuous Text Marquee 3. Add to Your Page More of this Feature Example Obtain the Script Along with
The WHILE Loop
Learn Javascript The WHILE Loop Join the Discussion Questions? Comments? More of this Tutorial The FOR
Numeric Array Sort
Numeric Array Sort Join the Discussion Questions? Comments? Related Resources Ignore Case Sort Random
Daylight Saving Time
Daylight Saving Time Adding Methods to the Date Object One flag missing from the information that the
Choosing Pre-Built Scripts
Easy tests to determine if pre-built scripts have been properly tested by their author
Mandatory Fields
Mandatory Fields Join the Discussion Questions? Comments? The simplest field validation is to test a
Sliding Menu HTML
Part 2: The Script Part 3: Make Your Menu M EN U Sliding Menu 3. Make Your Menu Join the Discussion Questions?
Cross Browser Ticker/Marquee Example
Cross Browser Ticker/Marquee 1. Introduction and Sample Basic Help Using Pre-written Scripts More of
Cryptogram Script Sample
Cryptogram Script 1. Introduction and Sample Basic Help Using Pre-written Scripts More of this Feature
Getting Started
Introduction to a series of tutorials on programming with JavaScript
Here's What JavaScript CAN'T Do
There are a few things that the JavaScript programming language does not let you do
Copy and Paste
Copy and Paste Join the Discussion Questions? Comments? To be able to incorporate pre-built Javascripts
Hide Until Page Finishes Loading
Web Page Animation 2. Hide Until Page Loaded Join the Discussion Questions? Comments? More of this Feature
JavaScript and Unicode
JavaScript can work with unicode as well as ASCII.
JavaScript Multiple Tests – And, Or, and...
A series of tutorials introducing JavaScript decision making
Alphabetic and Numeric Validations
Alphabetic and Numeric Join the Discussion Questions? Comments? Related Resources Mandatory Fields Javascript
Reserved Words
Reserved Words The following are Reserved Words in Javascript. This list of reserved words includes several
Object Oriented JavaScript
JavaScript Object Notation is a short way of defining objects. It is so convenient that it is commonly used with Ajax for passing objects from the server.
Concentration Memory Game with Images Sa...
Concentration Memory Game With Images 1. Introduction and Sample More of this Feature Head Script Body
Multiple Personality Quiz
Multiple Personality Quiz 1. Quiz Head Script Join the Discussion Questions? Comments? More of this Feature
Modal Dialog Box Javascript
Modal Dialog Box Part 2 : Obtain the Script More of this Feature Introduction and Sample Use the Script
Making it Move
This is a web page object. move Web Page Animation 7. Making it Move Join the Discussion Questions? Comments?

©2014 About.com. All rights reserved.