Gruzin Posted April 3, 2007 Share Posted April 3, 2007 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 More sharing options...
neel_basu Posted April 3, 2007 Share Posted April 3, 2007 Take a Look At here http://zigmoyd.sourceforge.net/man/ums.php#check_avilability Link to comment https://forums.phpfreaks.com/topic/45401-check-username-javascript-and-php/#findComment-220478 Share on other sites More sharing options...
dough boy Posted April 3, 2007 Share Posted April 3, 2007 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). Link to comment https://forums.phpfreaks.com/topic/45401-check-username-javascript-and-php/#findComment-220481 Share on other sites More sharing options...
Gruzin Posted April 3, 2007 Author Share Posted April 3, 2007 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 Link to comment https://forums.phpfreaks.com/topic/45401-check-username-javascript-and-php/#findComment-220540 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.