Jump to content

Check Username... Javascript and php


Gruzin

Recommended Posts

Hey guys,

 

I'm making a registration form where user can check if inputed username is avialable. So I've made a button and now trying to open popup window, wich will display the info about username, but I can't figure out how can I pass the variable from this page to this pop up window using php. And the most interesting thing is that page should not be reloaded, I mean if user inputs some text in textfiled and clicks on "Check", it should display the info about username.

 

 

Hope someone can help me,

 

George

Link to comment
https://forums.phpfreaks.com/topic/45401-check-username-javascript-and-php/
Share on other sites

This is a perfect case for using AJAX.  I use it the same way on my site, and I don't force the user to click anything.  Once they leave the user_name box, I use AJAX to check and see if the user_name already exists.  If it does, I prompt the user to choose another one (all from the same page without reloading).

Thanks guys!

 

Insert Quote
This is a perfect case for using AJAX.  I use it the same way on my site, and I don't force the user to click anything.  Once they leave the user_name box, I use AJAX to check and see if the user_name already exists.  If it does, I prompt the user to choose another one (all from the same page without reloading).

 

Great! can u point me to some good tutorial for that?

 

George

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.