Geekpedia Programming Tutorials






Code JavaScript Code

1 2 3 4 5
(23 code snippets in 5 pages)
Latest Code: RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   
Code

*****
4.4 from 5 votes

Nov 22nd 2007
by Andrew Pociu

Validate phone number using RegEx and JavaScript

A function to validate phone numbers using JavaScript and regular expressions. It will work with all valid US phone numbers in all popular formats.

Code

*----
1 from 3 votes

Nov 17th 2007
by Andrew Pociu

Check URL validity using JavaScript

The CheckValidUrl() function takes in an URL and checks whether or not it is valid by verifying it against a regular expression. Works for HTTP, HTTPS and FTP URLs.

Code

**---
2 from 1 votes

Nov 11th 2007
by Andrew Pociu

Check / uncheck all checkboxes in a form

One easy JavaScript function that will check or uncheck all the checkboxes in a form that's being passed as the first argument to the function.

Code

****-
4 from 4 votes

Oct 4th 2007
by Andrew Pociu

Convert a number from digits to words

A JavaScript function for converting numbers (21) to words (twenty-one). It works for numbers up to 999, but it can be transformed to support numbers in the thousands too.

Code

****-
3.8 from 5 votes

Oct 4th 2007
by Andrew Pociu

Add to favorites/bookmarks in Internet Explorer and Firefox

With only a few JavaScript lines you can initiate the dialog for "Add to Favorites" dialog in Internet Explorer and the "Add to Bookmarks" dialog in Firefox, as shown in this example.

1 2 3 4 5
(23 code snippets in 5 pages)
Filter Results
Show:


Latest IT Jobs


Other Resources
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons