Archive for the ‘Javascript’ Category

Posted on July 4th, 2008 by by anonymous

Date, time, and creating a live clock in JavaScript

If you were like me, before I learned JavaScript, one of the most eager things I wanted to know was how to access the time using JavaScript-displaying it, working with it and so on. Well, it was, in […]

Posted on July 4th, 2008 by by anonymous

Calculating the difference between two dates

Calculating the difference between two dates in JavaScript is relatively straightforward, provided you choose the right Date methods to work with. Whichever way you get there, the potential applications on date differences are many, from counting down to a particular […]

Posted on July 4th, 2008 by by anonymous

Formatting numbers for decimals and significant digits in JavaScript

Formatting numbers so they confirm to a specific format can be deceivingly tricky. For example, one of the most common tasks is to format a number for currency display- an integer followed by two […]

Posted on July 4th, 2008 by by anonymous

Programmer’s Guide to Regular Expressions

Regular expressions is a form of pattern matching that you can apply on textual content. Take for example the DOS wildcards ? and * which you can use when you’re searching for a file. That […]

Posted on June 30th, 2008 by by anonymous

OnReset, OnResize and Other JavaScript Events

We’ll be wrapping up the series on JavaScript events in this part. It’s been a long ride, but by the end of this article you should be able to create some nifty dynamic web pages. When Google buys your nerd-infested web site, don’t forget the guy who got you there.
View this article

Posted on June 30th, 2008 by by anonymous

Building a Pagination System with AJAX

You know how to use AJAX to pull rows from a database, but do you know how to create an AJAX-based system to organize the records neatly into pages? You’ll know how to do that by the end of this series! This first article shows you how to build the user interface.
View […]

Posted on June 24th, 2008 by by admin

Post by Screen Size

This article tell us about how to get your screen size with javascript.
View this article

Posted on June 22nd, 2008 by by admin

Opening PDFs in a New Window with JavaScript

Using JavaScript can also be particularly useful when a website is content managed. Rather than having to rely on site editors to remember to open a link to a PDF in a new window the process is handled by a simple JavaScript function.
View this tutorial

Posted on June 5th, 2008 by by admin

How to Use JavaScript to Change a Cascading Style Sheet (CSS) Dynamically

It may be useful sometimes to provide your visitors with the option to change the appearance of your website. Perhaps you may want to provide theme support for your site. Or you may simply want to provide a bigger font size version of your site for older users who may not be able to read […]

Posted on May 20th, 2008 by by admin

Using JavaScript To Control Forms

Making Sure Required Fields Are Filled In
View this article