<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: check username availability in ajax and php using jquery&#8217;s fading effect</title>
	<atom:link href="http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/feed" rel="self" type="application/rss+xml" />
	<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html</link>
	<description>Useful Tutorials, Scripts , Tips, and Resources for all PHP and Ajax beginners and experts .</description>
	<lastBuildDate>Mon, 07 May 2012 21:11:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Test d&#8217;un champ de formulaire en Ajax - Cyril</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-4#comment-6253</link>
		<dc:creator>Test d&#8217;un champ de formulaire en Ajax - Cyril</dc:creator>
		<pubDate>Wed, 19 Jan 2011 00:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-6253</guid>
		<description>[...] Source : http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html [...]</description>
		<content:encoded><![CDATA[<p>[...] Source : <a href="http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html" rel="nofollow">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalin</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-4#comment-5364</link>
		<dc:creator>Kalin</dc:creator>
		<pubDate>Sat, 17 Apr 2010 10:55:47 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5364</guid>
		<description>Exactly what I needed! Thanks!</description>
		<content:encoded><![CDATA[<p>Exactly what I needed! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-4#comment-5251</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Mon, 15 Mar 2010 21:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5251</guid>
		<description>And great script. Thank you! Very handy.

Took me a bit of wading through to figure out how to connect to a DB ... why not delete the ones that don&#039;t work from this thread? (i.e., all database solution suggestions before &quot;Pauly H wrote on 21 April, 2008, 8:02&quot;)</description>
		<content:encoded><![CDATA[<p>And great script. Thank you! Very handy.</p>
<p>Took me a bit of wading through to figure out how to connect to a DB &#8230; why not delete the ones that don&#8217;t work from this thread? (i.e., all database solution suggestions before &#8220;Pauly H wrote on 21 April, 2008, 8:02&#8243;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-4#comment-5250</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Mon, 15 Mar 2010 20:59:06 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5250</guid>
		<description>Cleaned up CSS for clarity:



.messagebox, .messageboxok,.messageboxerror {
	position:absolute;
	padding:3px;
	width:auto;
	font-weight:bold;
	margin: 2px 0 0 30px;
}
.messagebox{
	border:1px solid #c93;
	background:#ffc;
}
.messageboxok{
	border:1px solid #349534;
	background:#C9FFCA;
	color:#008000;
	
}
.messageboxerror{
	border:1px solid #CC0000;
	background:#F7CBCA;
	color:#CC0000;
}

</description>
		<content:encoded><![CDATA[<p>Cleaned up CSS for clarity:</p>
<p>.messagebox, .messageboxok,.messageboxerror {<br />
	position:absolute;<br />
	padding:3px;<br />
	width:auto;<br />
	font-weight:bold;<br />
	margin: 2px 0 0 30px;<br />
}<br />
.messagebox{<br />
	border:1px solid #c93;<br />
	background:#ffc;<br />
}<br />
.messageboxok{<br />
	border:1px solid #349534;<br />
	background:#C9FFCA;<br />
	color:#008000;</p>
<p>}<br />
.messageboxerror{<br />
	border:1px solid #CC0000;<br />
	background:#F7CBCA;<br />
	color:#CC0000;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GB Poker Club</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-4#comment-5208</link>
		<dc:creator>GB Poker Club</dc:creator>
		<pubDate>Sat, 27 Feb 2010 13:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5208</guid>
		<description>Maybe I spoke to soon!
I speaks to my database and shows correctly if a username is available or not, but now when I submit the form no data is entered in the database!!
Any ideas?</description>
		<content:encoded><![CDATA[<p>Maybe I spoke to soon!<br />
I speaks to my database and shows correctly if a username is available or not, but now when I submit the form no data is entered in the database!!<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anup sakharee</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-4#comment-5207</link>
		<dc:creator>anup sakharee</dc:creator>
		<pubDate>Sat, 27 Feb 2010 10:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5207</guid>
		<description>the above codes are not working....
</description>
		<content:encoded><![CDATA[<p>the above codes are not working&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dharani</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-3#comment-5183</link>
		<dc:creator>dharani</dc:creator>
		<pubDate>Tue, 23 Feb 2010 15:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5183</guid>
		<description>can you modify to test username not contains special characters like %^&amp;****()#@$!. thaqnks</description>
		<content:encoded><![CDATA[<p>can you modify to test username not contains special characters like %^&amp;****()#@$!. thaqnks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GB Poker Club</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-3#comment-5177</link>
		<dc:creator>GB Poker Club</dc:creator>
		<pubDate>Sun, 21 Feb 2010 12:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5177</guid>
		<description>Wow what an amazingly nice bit of script, thanks a lot Roshan.
I struggled for a while to get it to talk to my database, but Kevin sorted that issue in his past although I still got a minor syntax error but 10 minutes of playing around got it sorted.

Big thanks to Roshan and Kevin :-)</description>
		<content:encoded><![CDATA[<p>Wow what an amazingly nice bit of script, thanks a lot Roshan.<br />
I struggled for a while to get it to talk to my database, but Kevin sorted that issue in his past although I still got a minor syntax error but 10 minutes of playing around got it sorted.</p>
<p>Big thanks to Roshan and Kevin <img src='http://roshanbh.com.np/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keerthi</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-3#comment-5153</link>
		<dc:creator>keerthi</dc:creator>
		<pubDate>Sat, 13 Feb 2010 09:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5153</guid>
		<description>@Roshan Thanx for script..!!!

@TARIQ  Hello TARIQ...

How u used the script to validate both Email and password filed....????</description>
		<content:encoded><![CDATA[<p>@Roshan Thanx for script..!!!</p>
<p>@TARIQ  Hello TARIQ&#8230;</p>
<p>How u used the script to validate both Email and password filed&#8230;.????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Greenberg</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-3#comment-5140</link>
		<dc:creator>David Greenberg</dc:creator>
		<pubDate>Mon, 08 Feb 2010 05:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5140</guid>
		<description>Thanks for posting it.  Being new to Ajax, I had to work through a number of -- perhaps obvious -- user mistakes before I finally got the code working.  But now, it works great.

I also appreciate the code enhancement suggestions from other comments.</description>
		<content:encoded><![CDATA[<p>Thanks for posting it.  Being new to Ajax, I had to work through a number of &#8212; perhaps obvious &#8212; user mistakes before I finally got the code working.  But now, it works great.</p>
<p>I also appreciate the code enhancement suggestions from other comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-3#comment-5058</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Mon, 18 Jan 2010 05:31:41 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5058</guid>
		<description>oh, for totally cool effect, I changed the css to this:

.messagebox{ background:#ffc;}
.messageboxok{ background:#C9FFCA; color:#008000;}
.messageboxerror{ background:#F7CBCA; color:#CC0000;}


Change #msgbox to #username in the script and the input box itself will turn to red or green to show if the username is available or not.</description>
		<content:encoded><![CDATA[<p>oh, for totally cool effect, I changed the css to this:</p>
<p>.messagebox{ background:#ffc;}<br />
.messageboxok{ background:#C9FFCA; color:#008000;}<br />
.messageboxerror{ background:#F7CBCA; color:#CC0000;}</p>
<p>Change #msgbox to #username in the script and the input box itself will turn to red or green to show if the username is available or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-3#comment-5057</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Mon, 18 Jan 2010 05:26:33 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5057</guid>
		<description>For thos who are having problems with always getting &#039;Username is available&#039;, try this to debug:

Change these two lines
$(this).html(‘User name available to register’).addClass(‘messageboxok’).fadeTo(900,1);
$(this).html(‘This User name Already exists’).addClass(‘messageboxerror’).fadeTo(900,1);
to 
$(this).html(data).addClass(‘messageboxok’).fadeTo(900,1);]
$(this).html(data).addClass(‘messageboxerror’).fadeTo(900,1);

and you will see what your php page is actually returning. You can then work out what&#039;s going wrong. FWIW i couldn&#039;t get it to work until i changed the yes/no to 1/0 as advised by kevin as above.

Useful way to learn how to process an ajax query through a dbase.

cheers</description>
		<content:encoded><![CDATA[<p>For thos who are having problems with always getting &#8216;Username is available&#8217;, try this to debug:</p>
<p>Change these two lines<br />
$(this).html(‘User name available to register’).addClass(‘messageboxok’).fadeTo(900,1);<br />
$(this).html(‘This User name Already exists’).addClass(‘messageboxerror’).fadeTo(900,1);<br />
to<br />
$(this).html(data).addClass(‘messageboxok’).fadeTo(900,1);]<br />
$(this).html(data).addClass(‘messageboxerror’).fadeTo(900,1);</p>
<p>and you will see what your php page is actually returning. You can then work out what&#8217;s going wrong. FWIW i couldn&#8217;t get it to work until i changed the yes/no to 1/0 as advised by kevin as above.</p>
<p>Useful way to learn how to process an ajax query through a dbase.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saiful103a</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-3#comment-5038</link>
		<dc:creator>saiful103a</dc:creator>
		<pubDate>Wed, 13 Jan 2010 23:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5038</guid>
		<description>great post. now it&#039;s more clear to me about ajax-php then before..</description>
		<content:encoded><![CDATA[<p>great post. now it&#8217;s more clear to me about ajax-php then before..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matvespa</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-3#comment-5006</link>
		<dc:creator>matvespa</dc:creator>
		<pubDate>Sun, 03 Jan 2010 09:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5006</guid>
		<description>Thanks zia!!!....MANY MANY THANKS!...the code works fine!...I LOVE IT!!</description>
		<content:encoded><![CDATA[<p>Thanks zia!!!&#8230;.MANY MANY THANKS!&#8230;the code works fine!&#8230;I LOVE IT!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiranmai</title>
		<link>http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html/comment-page-3#comment-5002</link>
		<dc:creator>kiranmai</dc:creator>
		<pubDate>Thu, 31 Dec 2009 07:22:58 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/04/check-username-available-ajax-php-jquery.html#comment-5002</guid>
		<description>Hi


I saw tha code u wrote , Its really Waste Code I ever seen.. Very Poor Coding ...
Dont post these type of codes and waste Users valuable time !!!~!!</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I saw tha code u wrote , Its really Waste Code I ever seen.. Very Poor Coding &#8230;<br />
Dont post these type of codes and waste Users valuable time !!!~!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 410/414 objects using disk: basic

Served from: roshanbh.com.np @ 2012-05-17 06:43:33 -->
