JavaScript Help, JavaScript Tutorials, JavaScript Programming, and more! Dev Shed contains tutorials, articles, code samples, and other various resources. Our writings feature in-house authors, freelance writers, and several exclusive publishing relationships.
Contributed by Melonfire
Article Rating: / 21 2004-04-26
In this article, find out how to store and retrieve persistent data with cookies, small files that allow you to do big things. This article explains the basics of cookies, demonstrates reading and writing them in JavaScript, and illustrates their use in a real-world application. Discuss this article!
Need to match and replace patterns on a Web page? You don't need Perl or PHP - JavaScript can do the job just as well. In this article, find out how, with an introduction to the JavaScript RegExp object and its methods. After reading this tutorial, I'm pretty sure you're going to look at JavaScript in a different light. The language ins't the one most commonly associated with image swaps and browser detection, but it serves as a powerful tool to help you execute pattern-matching tasks in the client quickly and efficiently. Discuss this article!
Maybe you know how to make Web pages dance to your tune with JavaScript - but how about making the browser do the same? This tutorial focuses on the important browser objects (including the Window, Location and History objects) that are controllable via JavaScript, showing you how to manipulate and use them in your scripts. Discuss this article!
JavaScript's Window object comes with four methods that you can use to create timed or looping events in your Web pages. In this article, I'll introduce you to them, and also show you a few examples of how they can be used in different situations. Discuss this article!
Form validation can help to reduce the amount of bad data that gets saved to your database. In this article, find out how you can write a simple JavaScript form validator for basic client-side validation, and learn a little bit about JavaScript OOP in the process as well. Discuss this article!
Wondering why JavaScript doesn't include exception-handling constructs like its bigger cousins? Well, the newest version of JavaScript does - and this article tells you all about it, explaining how you can use the new Error object and the "try-catch" constructs to trap and resolve errors in script execution. Discuss this article!
Think JavaScript's only good for image swaps and tickertapes?
Think again - the language comes with a powerful String() object
designed to help you quickly and efficiently perform string manipulation
tasks in the client. This article explains how, with illustrations and
code samples. Discuss this article!
In this concluding article on the JavaScript event model, find
out how the Event object can be used to do ever more complex things,
including manipulating the dimensions of a Web page and tracking and
intercepting keyboard and mouse events. Discuss this article!
This may be news to you, but JavaScript comes with a powerful
and flexible event model, one which provides developers with a
standardized way of trapping and handling client-side events like
keystrokes and mouse clicks. This two-part article takes an in-depth
look at how this event model works, demonstrating some practical (and
not-so-practical) uses of the most common event handlers. Discuss this article!
It's not often that I talk about stuff you can buy here, but man, this rocks! For $150 you get the XBox, TopSpin (a tennis game -- Yawn!), and EA Sports' NCAA Football 2005. Ok, I'm a football fan, I'll admit. Go USF Bulls! Still it's a sweet deal. Do you game? More(2)
The tragedy wasn't that they were killed by a flaming ball of rock and ice, the problem was that it happened during the prime of their existence. Oh sure, humans are here, but what would have happened if that asteriod never struck? More(2)
To beat open source you must love open source. That was the advice given to MS by management guru Clayton Christensen, who's apparently been taking lessons from Ghandi. More(0)
Sometimes it seems that the Web is just about the only place where the disabled really do still get ignored. The W3C dictates a set of standards to help the disabled, but a pathetic few number of sites actually do. What would you do to ensure disability compliance across the Web? More(0)
We've all heard it: the hosting company that was subjected to a security breach because they don't have a properly configured firewall. The sad truth is that anyone hosting a site is guilty of bad security at some point. Share some of your "dumb" mistakes, and help others avoid them in the future! More(0)
"For years, scientists have been trying, without success, to find a link between higher incidences of cancer and the electromagnetic fields produced high voltage power lines." More(2)
"Mitsubishi...is going to introduce next year a headset with a small liquid-crystal display (LCD) screen." (I just hope these things aren't allowed while driving -- Ed.) More(0)
Based on satellite observations, the high-resolution global atmospheric map of nitrogen dioxide pollution makes clear just how human activities impact air quality. More(0)
"The Federal Communications Commission on Thursday approved rules for transmitting broadband communications signals over electric power lines, clearing the way for the expansion of high-speed Internet access through home electrical outlets." More(0)
»Getting Started with Mach-II for PHP in: PHP
»Introduction to Service Oriented Architecture (SOA) in: Web-Services
»Trust, Access Control, and Rights for Web Services, Part 2 in: Security