<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: AJAX Username Availability Checker Using MooTools&#160;1.2</title> <atom:link href="http://davidwalsh.name/ajax-username-availability-checker-mootools/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/ajax-username-availability-checker-mootools</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 15:40:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Anthony</title><link>http://davidwalsh.name/ajax-username-availability-checker-mootools/comment-page-1#comment-28676</link> <dc:creator>Anthony</dc:creator> <pubDate>Thu, 26 Jan 2012 13:14:14 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=425#comment-28676</guid> <description>When entering an available user id it displays the checkmark and turns green like expected
but when backspacing and removing characters it fails to check the required number of characters required and stays green with a checkmark even when there are no characters
at all.....It does this on your demo as well.Any ideas how to fix??</description> <content:encoded><![CDATA[<p>When entering an available user id it displays the checkmark and turns green like expected<br
/> but when backspacing and removing characters it fails to check the required number of characters required and stays green with a checkmark even when there are no characters<br
/> at all&#8230;..</p><p>It does this on your demo as well.</p><p>Any ideas how to fix??</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/ajax-username-availability-checker-mootools/comment-page-1#comment-26137</link> <dc:creator>David Walsh</dc:creator> <pubDate>Wed, 20 Jul 2011 13:19:56 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=425#comment-26137</guid> <description>Sure, you could probably make the image a DIV containing the image, then add any text you&#039;d like.</description> <content:encoded><![CDATA[<p>Sure, you could probably make the image a DIV containing the image, then add any text you&#8217;d like.</p> ]]></content:encoded> </item> <item><title>By: Pete Jarvis</title><link>http://davidwalsh.name/ajax-username-availability-checker-mootools/comment-page-1#comment-26133</link> <dc:creator>Pete Jarvis</dc:creator> <pubDate>Wed, 20 Jul 2011 11:28:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=425#comment-26133</guid> <description>Just want to say awesome tutorial. I have implemented this as a &quot;forgotten password feature&quot; where it checks for the email address in the DB before the user submits the form. One question I have is: is there anyway of injecting some text with the image so the user gets a message saying &quot;sorry your email address isn&#039;t in the DB&quot; or something similar. thanks again. Great site.</description> <content:encoded><![CDATA[<p>Just want to say awesome tutorial. I have implemented this as a &#8220;forgotten password feature&#8221; where it checks for the email address in the DB before the user submits the form. One question I have is: is there anyway of injecting some text with the image so the user gets a message saying &#8220;sorry your email address isn&#8217;t in the DB&#8221; or something similar. thanks again. Great site.</p> ]]></content:encoded> </item> <item><title>By: Ralf</title><link>http://davidwalsh.name/ajax-username-availability-checker-mootools/comment-page-1#comment-17952</link> <dc:creator>Ralf</dc:creator> <pubDate>Mon, 31 May 2010 20:21:40 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=425#comment-17952</guid> <description>I made some changes to the original code to be able to scan in various fields, here isvalidate: function() {
this.options.element.addEvent(this.options.trigger,function() {
if(this.options.element.value.length &gt;= this.options.minLength) {
var othis = this;
new Request({url: othis.options.url,
method: &#039;post&#039;,
data: {
conteudo: othis.options.element.value
},
onRequest: function() {
//remove existing classes
othis.options.element.removeClass(othis.options.availableClass).removeClass(othis.options.takenClass);
},
onComplete: function(response) {
//add class
othis.options.element.addClass(response == 1 ? othis.options.availableClass : othis.options.takenClass);
othis.injectImage(response == 1 ? othis.options.availableImage : othis.options.takenImage,othis.options.element.id);
}
}).send();
}
}.bind(this));
},
//adds the image
injectImage: function(image,id) {
if ($(&#039;img&#039;+id)) { $(&#039;img&#039;+id).src=image} else {
//figure out its position
var pos = this.options.element.getCoordinates();
var img = new Element(&#039;img&#039;,{
src: image,
styles: {
&#039;z-index&#039;: 100000,
&#039;position&#039;: &#039;absolute&#039;,
&#039;top&#039;: pos.top + this.options.offset.y,
&#039;left&#039;: pos.left + pos.width + this.options.offset.x
}
}).inject(document.body);
img.id = &#039;img&#039;+id;
}
} </description> <content:encoded><![CDATA[<p>I made some changes to the original code to be able to scan in various fields, here is</p><p>validate: function() {<br
/> this.options.element.addEvent(this.options.trigger,function() {<br
/> if(this.options.element.value.length &gt;= this.options.minLength) {<br
/> var othis = this;<br
/> new Request({</p><p> url: othis.options.url,<br
/> method: &#8216;post&#8217;,<br
/> data: {<br
/> conteudo: othis.options.element.value<br
/> },<br
/> onRequest: function() {<br
/> //remove existing classes<br
/> othis.options.element.removeClass(othis.options.availableClass).removeClass(othis.options.takenClass);<br
/> },<br
/> onComplete: function(response) {<br
/> //add class<br
/> othis.options.element.addClass(response == 1 ? othis.options.availableClass : othis.options.takenClass);<br
/> othis.injectImage(response == 1 ? othis.options.availableImage : othis.options.takenImage,othis.options.element.id);<br
/> }<br
/> }).send();<br
/> }<br
/> }.bind(this));<br
/> },</p><p> //adds the image<br
/> injectImage: function(image,id) {<br
/> if ($(&#8216;img&#8217;+id)) { $(&#8216;img&#8217;+id).src=image} else {<br
/> //figure out its position<br
/> var pos = this.options.element.getCoordinates();<br
/> var img = new Element(&#8216;img&#8217;,{<br
/> src: image,<br
/> styles: {<br
/> &#8216;z-index&#8217;: 100000,<br
/> &#8216;position&#8217;: &#8216;absolute&#8217;,<br
/> &#8216;top&#8217;: pos.top + this.options.offset.y,<br
/> &#8216;left&#8217;: pos.left + pos.width + this.options.offset.x<br
/> }<br
/> }).inject(document.body);<br
/> img.id = &#8216;img&#8217;+id;<br
/> }<br
/> }</p> ]]></content:encoded> </item> <item><title>By: Ralf</title><link>http://davidwalsh.name/ajax-username-availability-checker-mootools/comment-page-1#comment-17951</link> <dc:creator>Ralf</dc:creator> <pubDate>Mon, 31 May 2010 18:36:00 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=425#comment-17951</guid> <description>@Garrick:  you sure about this? o.o&#039;</description> <content:encoded><![CDATA[<p>@Garrick:  you sure about this? o.o&#8217;</p> ]]></content:encoded> </item> <item><title>By: hollywood</title><link>http://davidwalsh.name/ajax-username-availability-checker-mootools/comment-page-1#comment-17198</link> <dc:creator>hollywood</dc:creator> <pubDate>Wed, 21 Apr 2010 11:41:07 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=425#comment-17198</guid> <description>please can anyone give a coldfusion version of &quot;ajax-username-check.php&quot;. i just do not know anything about php or mysql. they both sound ridiculous to me. i do not even know how to set up the connection. please any help will be highly appreciated. thanks to you all in advance.</description> <content:encoded><![CDATA[<p>please can anyone give a coldfusion version of &#8220;ajax-username-check.php&#8221;. i just do not know anything about php or mysql. they both sound ridiculous to me. i do not even know how to set up the connection. please any help will be highly appreciated. thanks to you all in advance.</p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://davidwalsh.name/ajax-username-availability-checker-mootools/comment-page-1#comment-16368</link> <dc:creator>Alex</dc:creator> <pubDate>Sun, 07 Mar 2010 17:30:54 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=425#comment-16368</guid> <description>corrected function, so that the images didnt stack on each other!injectImage: function(image) {
if ($(&#039;imago&#039;)) { $(&#039;imago&#039;).src=image} else {
//figure out its position
var pos = this.options.element.getCoordinates();
var img = new Element(&#039;img&#039;,{
src: image,
styles: {
&#039;z-index&#039;: 100000,
&#039;position&#039;: &#039;absolute&#039;,
&#039;top&#039;: pos.top + this.options.offset.y,
&#039;left&#039;: pos.left + pos.width + this.options.offset.x
}
}).inject(document.body);
img.id=&#039;imago&#039;;
} }</description> <content:encoded><![CDATA[<p>corrected function, so that the images didnt stack on each other!</p><p>injectImage: function(image) {<br
/> if ($(&#8216;imago&#8217;)) { $(&#8216;imago&#8217;).src=image} else {<br
/> //figure out its position<br
/> var pos = this.options.element.getCoordinates();<br
/> var img = new Element(&#8216;img&#8217;,{<br
/> src: image,<br
/> styles: {<br
/> &#8216;z-index&#8217;: 100000,<br
/> &#8216;position&#8217;: &#8216;absolute&#8217;,<br
/> &#8216;top&#8217;: pos.top + this.options.offset.y,<br
/> &#8216;left&#8217;: pos.left + pos.width + this.options.offset.x<br
/> }<br
/> }).inject(document.body);<br
/> img.id=&#8217;imago&#8217;;<br
/> } }</p> ]]></content:encoded> </item> <item><title>By: geekasylum</title><link>http://davidwalsh.name/ajax-username-availability-checker-mootools/comment-page-1#comment-16193</link> <dc:creator>geekasylum</dc:creator> <pubDate>Sun, 21 Feb 2010 07:59:43 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=425#comment-16193</guid> <description>A small correction to Garrick&#039;s patch:onComplete: function(){should readonComplete: function(response){Thanks for a great class David, and especially thanks for the awesome tutorials.</description> <content:encoded><![CDATA[<p>A small correction to Garrick&#8217;s patch:</p><p>onComplete: function(){</p><p>should read</p><p>onComplete: function(response){</p><p>Thanks for a great class David, and especially thanks for the awesome tutorials.</p> ]]></content:encoded> </item> <item><title>By: marien</title><link>http://davidwalsh.name/ajax-username-availability-checker-mootools/comment-page-1#comment-14538</link> <dc:creator>marien</dc:creator> <pubDate>Tue, 15 Dec 2009 21:58:11 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=425#comment-14538</guid> <description>Hi David (and others)l,I have the same problem as Manik before.
The script seems to pile up the images.This way, you get an ugly stack of (png) images. How should / could I disable the image which was generated before the current one?cheers and thnx for this otherwise great script!</description> <content:encoded><![CDATA[<p>Hi David (and others)l,</p><p>I have the same problem as Manik before.<br
/> The script seems to pile up the images.</p><p>This way, you get an ugly stack of (png) images. How should / could I disable the image which was generated before the current one?</p><p>cheers and thnx for this otherwise great script!</p> ]]></content:encoded> </item> <item><title>By: softboy</title><link>http://davidwalsh.name/ajax-username-availability-checker-mootools/comment-page-1#comment-10575</link> <dc:creator>softboy</dc:creator> <pubDate>Wed, 22 Jul 2009 13:58:30 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=425#comment-10575</guid> <description>Hi David, is it possible to add php file too ?thanks for this</description> <content:encoded><![CDATA[<p>Hi David, is it possible to add php file too ?</p><p>thanks for this</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 (User agent is rejected)
Database Caching 2/18 queries in 0.014 seconds using disk: basic
Object Caching 865/868 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 12:13:42 -->
