Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-04-2012, 01:34 PM   PM User | #1
katmac
New Coder

 
Join Date: Aug 2012
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
katmac is an unknown quantity at this point
href onclick check if user name in database

Hi

On my page:

http://mandatorymarketinginc.com/web...-create-01.php

I would like the user to click on the "Check Availability" hyperlink and have it check my database to see if username is available or not, while remaining on this page and then display a message saying either "taken" or "available".

I am stumped on this.
Could someone pls point me in the right direction.

Thanks.
katmac is offline   Reply With Quote
Old 10-04-2012, 02:08 PM   PM User | #2
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 960
Thanks: 7
Thanked 100 Times in 100 Posts
WolfShade is an unknown quantity at this point
AJaX. Easier if you're using jQuery. But if not, you can manually write your xhr, submit in the background and alert the server response. Or have a hidden div appear with the display.
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote
Reply

Bookmarks

Tags
check username

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:45 PM.


Advertisement
Log in to turn off these ads.