Category
Javascript
16 posts.
Dec 3, 2012
How to validate Date using Javascript Regular Expression
Here is a simple Javascript function to validate a date in US format.
Feb 1, 2010
Why you should stop using onload method.
It is amazing that many web developers still use onload method embedded in the BODY tag, like <HEAD> <BODY onload=”document.contact.userID.focus(
Oct 15, 2009
Nine Must Have JavaScript Tools For Every Web Developer
Almost all major web development projects include some javascript. Developing Javascript may be easy for some but working around various browsers’ incompa
Jan 20, 2009
How to display RSS feed on your website.
Image credit:Kyle Wegner OK, admit this. You have a nice-looking website. The color and the graphics look pleasing to visiting eyes. But you do not get a lot of
Feb 28, 2008
Simple JavaScript Regular Expression to Validate U.S Phone Numbers
Image credit: aussiegall Continuing with our JavaScript regular expression series today we will discuss JavaScript regular expression to validate U.S phone numb
Feb 18, 2008
Validate Zip code using JavaScript Regular expression
Continuing with my series of JavaScript regular expression today we will see how easy it is to validate zip code using regular expression in JavaScript. Previou
Feb 15, 2008
How to validate Social Security Number (SSN) using JavaScript Regular Expressions
When I wrote the JS regular expression article last week I had no idea that it will attract so many visitors. Not only did so many people read this post, many m
Feb 7, 2008
Validate email address using JavaScript regular expression
Last month I wrote about regular expressions in Java, today I’ll show you how to use regular expression in JavaScript to validate email address. Here is t
Jan 30, 2008
Set focus on the first text field of HTML form.
A HTML form is a very good channel that you can offer to your visitors to contact you. An aesthetically appealing form encourages user to fill and submit it. It
Dec 5, 2007
Sort numbers in Javascript array
Sorting an array in Javascript is a snap. You create an array and then call sort() method on that array. The Javascript sort() method sorts an array in lexicogr
Nov 22, 2007
Compress JavaScript and CSS files to optimize website speed.
Referencing external JavaScript and/or CSS files from a web page considerably increases the load time. As a rule of thumb remember that each external file requi
Nov 19, 2007
Improve your JavaScript code.
Christian Heilmann compiled a list of seven rules for unobtrusive JavaScript. I think it is a must read for beginner JavaScript developers. Even if you are a hi
Nov 12, 2007
Display external RSS feeds on your website.
You have designed a beautiful website. But you still do not get a lot of loyal visitors. The problem may not be your design, it may be the static content that i
Nov 1, 2007
#1 Programming Language – Java
According to TIOBE Programming Community Index Java is still the #1 programming language. TIOBE Index gives an indication of the popularity of a programming lan
Oct 26, 2007
Dynamically loading an external JavaScript or CSS file
A very good article explaining how to load JavaScript and CSS files asynchronously and on demand. Dynamically loading an external JavaScript or CSS file
Oct 21, 2007
AJAX Contact Form
Want to collect input from your web site’s visitors? Don’t have time or expertise to develop the contact form yourself? Don’t worry. Dustin Di