Navigation Menu
Alphabetical Listing
Site Contents

Site FAQ
About JSS
JavaScript Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript Help
Contribute a script
Technology Jobs

Become a Partner

Internet.commerce

Be a Commerce Partner


Developer Channel

FlashKit.com
JavaScriptSource
Developer Jobs
ScriptSearch
WebDeveloper.com
Webreference
HTMLGoodies
HTML5 Dev Center
Developer.com
jGuru.com
PHPBuilder

Great Sites

DocJavaScript.com
dhtml.com
The Freebie Directory
TheFreeSite.com

Browse Doc JS's Tips!


Hiermenus Central


Promotions

Free Announcements


Social Bookmark

General

This script does a Gmail-style check on the username supplied to see if it is a unique username, using the Ajax method (via the Sajax development version).


Test the script here.

Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: Sajax2.php


PHP

Paste this code at the very top of your HTML document, above the DOCTYPE tag.


CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


User Comments

Add a comment, suggestion, or correction
[For questions about usage, consult the Notes tab above or visit the JavaScript forum. Do not include more than two (2) lines of code in your comments. If you have suggestions or corrections, you can submit them to us.]

    
   
       
[optional]
 
[optional]

   

Comments feed Comment Feed RSS 2.0

5. From: kranthi kumar
10/15/2008 02:33:50

Good Website for javascript related solutions

4. From: Jeni
03/15/2008 19:15:01

Thanks! I've been looking for something like this, works well with the way my page is setup.

2. From: Kerry Kurtz
emailed script file does not exist
09/14/2007 11:55:34

when entering email address and clicking on the button to email the script to me the resulting email has a link to the file to download it BUT just get a 404 NOT FOUND

3. From: Lee (Admin)
10/03/2007 16:05:25

It work fine now.

1. From: alyssa
12/16/2006 17:09:36

Sorry, but none of these work.I've tried ALL of the codes for the 'check username signup' code.All you do is type in the box and the words 'this username is available!' and 'this username is unavailable.' ALWAYS appear so you don't know if it's available, or not.I would use this code but i can't because it doesn't work!If you could,somehow upgrade it and make it work.I want one of these but this one is the only 1 i can find-and it doesn't work at all.too bad.


Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.