<?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: AutoComplete for Prototype.js</title>
	<atom:link href="http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ramirezcobos.com</link>
	<description>Programming Web with PHP, CSS, Javascript and ∞</description>
	<lastBuildDate>Sun, 01 Aug 2010 21:04:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jon B.</title>
		<link>http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/comment-page-1/#comment-851</link>
		<dc:creator>Jon B.</dc:creator>
		<pubDate>Wed, 14 Jul 2010 23:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramirezcobos.com/?page_id=39#comment-851</guid>
		<description>I do believe I&#039;ve solved the problem. I looked in the jquery version and saw that Antonio had had a similar problem that he fixed by moving the notifier add code to a different part of the script. I found the equivalent section of the script in the Prototype version, moved the statements over, and voila! Problem is solved.

For the record, I moved these statements,

&lt;code&gt;
    if( this.options.useNotifier )
    {
      this.fld.removeClassName(&#039;ac_field&#039;);
	    this.fld.addClassName(&#039;ac_field_busy&#039;);
    };
&lt;/code&gt;

from lines 455-459 and inserted them right after line 243.</description>
		<content:encoded><![CDATA[<p>I do believe I&#8217;ve solved the problem. I looked in the jquery version and saw that Antonio had had a similar problem that he fixed by moving the notifier add code to a different part of the script. I found the equivalent section of the script in the Prototype version, moved the statements over, and voila! Problem is solved.</p>
<p>For the record, I moved these statements,</p>
<p><code><br />
    if( this.options.useNotifier )<br />
    {<br />
      this.fld.removeClassName('ac_field');<br />
	    this.fld.addClassName('ac_field_busy');<br />
    };<br />
</code></p>
<p>from lines 455-459 and inserted them right after line 243.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon B.</title>
		<link>http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/comment-page-1/#comment-814</link>
		<dc:creator>Jon B.</dc:creator>
		<pubDate>Sun, 04 Jul 2010 18:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramirezcobos.com/?page_id=39#comment-814</guid>
		<description>Here&#039;s an example of the problem I&#039;m having with the spinner:

http://www.track-blaster.com/wmbr/autocompletetest.html</description>
		<content:encoded><![CDATA[<p>Here&#8217;s an example of the problem I&#8217;m having with the spinner:</p>
<p><a href="http://www.track-blaster.com/wmbr/autocompletetest.html" rel="nofollow">http://www.track-blaster.com/wmbr/autocompletetest.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon B.</title>
		<link>http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/comment-page-1/#comment-812</link>
		<dc:creator>Jon B.</dc:creator>
		<pubDate>Sun, 04 Jul 2010 03:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramirezcobos.com/?page_id=39#comment-812</guid>
		<description>Thanks for that answer. I&#039;m a big fan of the original bsn version, but since I already use Prototype,  I was curious to see if your version was any better.  I&#039;ve gotten it to work, but there is one odd problem: The spinner never goes away. The &quot;leftcap&quot; image appears on focus, and as soon as the autocomplete is triggered the spinner appears, but then it never reverts back to the leftcap unless the entire page is reloaded. Any idea what might be causing this?</description>
		<content:encoded><![CDATA[<p>Thanks for that answer. I&#8217;m a big fan of the original bsn version, but since I already use Prototype,  I was curious to see if your version was any better.  I&#8217;ve gotten it to work, but there is one odd problem: The spinner never goes away. The &#8220;leftcap&#8221; image appears on focus, and as soon as the autocomplete is triggered the spinner appears, but then it never reverts back to the leftcap unless the entire page is reloaded. Any idea what might be causing this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Weber</title>
		<link>http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/comment-page-1/#comment-799</link>
		<dc:creator>Henry Weber</dc:creator>
		<pubDate>Fri, 02 Jul 2010 14:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramirezcobos.com/?page_id=39#comment-799</guid>
		<description>Awesome job - this is absolutely great!

One problem I&#039;ve found though... do you know how I can get the results to show up in a jquery modal dialog?

Thanks, Henry</description>
		<content:encoded><![CDATA[<p>Awesome job &#8211; this is absolutely great!</p>
<p>One problem I&#8217;ve found though&#8230; do you know how I can get the results to show up in a jquery modal dialog?</p>
<p>Thanks, Henry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio Ramirez</title>
		<link>http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/comment-page-1/#comment-783</link>
		<dc:creator>Antonio Ramirez</dc:creator>
		<pubDate>Mon, 28 Jun 2010 16:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramirezcobos.com/?page_id=39#comment-783</guid>
		<description>Please download the files of AutoComplete for JQuery and use the resource files but the JS files... 

Sorry for this inconvenience</description>
		<content:encoded><![CDATA[<p>Please download the files of AutoComplete for JQuery and use the resource files but the JS files&#8230; </p>
<p>Sorry for this inconvenience</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon B.</title>
		<link>http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/comment-page-1/#comment-777</link>
		<dc:creator>Jon B.</dc:creator>
		<pubDate>Fri, 25 Jun 2010 20:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramirezcobos.com/?page_id=39#comment-777</guid>
		<description>The zip file I downloaded only contained the file autocomplete.js, but the code and your comments make reference to other files (autocomplete.css, demos, etc.). I used the download link http://www.ramirezcobos.com/?file_id=2

What am I missing?</description>
		<content:encoded><![CDATA[<p>The zip file I downloaded only contained the file autocomplete.js, but the code and your comments make reference to other files (autocomplete.css, demos, etc.). I used the download link <a href="http://www.ramirezcobos.com/?file_id=2" rel="nofollow">http://www.ramirezcobos.com/?file_id=2</a></p>
<p>What am I missing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio Ramirez</title>
		<link>http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/comment-page-1/#comment-612</link>
		<dc:creator>Antonio Ramirez</dc:creator>
		<pubDate>Fri, 14 May 2010 10:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramirezcobos.com/?page_id=39#comment-612</guid>
		<description>Gracias Rafael, la verdad es que tengo una nueva versión de la misma pero no he tenido tiempo todavia de subirla..: Estoy muy involucrado en nuevos proyectos y la verdad... El Blog lo tengo un poco dificil de actualizar!</description>
		<content:encoded><![CDATA[<p>Gracias Rafael, la verdad es que tengo una nueva versión de la misma pero no he tenido tiempo todavia de subirla..: Estoy muy involucrado en nuevos proyectos y la verdad&#8230; El Blog lo tengo un poco dificil de actualizar!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael Perelló</title>
		<link>http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/comment-page-1/#comment-611</link>
		<dc:creator>Rafael Perelló</dc:creator>
		<pubDate>Fri, 14 May 2010 10:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramirezcobos.com/?page_id=39#comment-611</guid>
		<description>I suggest a change in the code:

var pos = this.fld.cumulativeOffset();

to

var pos  = this.fld.viewportOffset();

I did that change because the first failed when it&#039;s inside a container that was scrolled. &quot;cumulativeOffset()&quot; didn&#039;t change when the scroll is different to top position. Instead &quot;viewportOffset()&quot; reflects real position.

Espero haberme explicado bien. Lo que quiero decir es que &quot;cumulativeOffset&quot; no tiene en cuenta el scroll del contenedor en el que estuviera, sin embargo &quot;viewportOffset()&quot; si tiene en cuenta ese movimiento y de esta forma queda anclado perfectamente.

Buen trabajo Antonio
Una cervecita para ti desde Mallorca.</description>
		<content:encoded><![CDATA[<p>I suggest a change in the code:</p>
<p>var pos = this.fld.cumulativeOffset();</p>
<p>to</p>
<p>var pos  = this.fld.viewportOffset();</p>
<p>I did that change because the first failed when it&#8217;s inside a container that was scrolled. &#8220;cumulativeOffset()&#8221; didn&#8217;t change when the scroll is different to top position. Instead &#8220;viewportOffset()&#8221; reflects real position.</p>
<p>Espero haberme explicado bien. Lo que quiero decir es que &#8220;cumulativeOffset&#8221; no tiene en cuenta el scroll del contenedor en el que estuviera, sin embargo &#8220;viewportOffset()&#8221; si tiene en cuenta ese movimiento y de esta forma queda anclado perfectamente.</p>
<p>Buen trabajo Antonio<br />
Una cervecita para ti desde Mallorca.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael Perelló</title>
		<link>http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/comment-page-1/#comment-610</link>
		<dc:creator>Rafael Perelló</dc:creator>
		<pubDate>Fri, 14 May 2010 10:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramirezcobos.com/?page_id=39#comment-610</guid>
		<description>&lt;blockquote&gt;
&lt;a href=&quot;#comment-318&quot; rel=&quot;nofollow&quot;&gt;
&lt;strong&gt;&lt;em&gt;Charlie:&lt;/em&gt;&lt;/strong&gt;
&lt;/a&gt;
 Hi, what format does the autocompleter expect the JSON response to be?
E.g. {[result1, result2, result3]}
&lt;/blockquote&gt;
 This is an example:
{&quot;results&quot;:[{&quot;id&quot;:0,&quot;value&quot;:&quot;SPAIN&quot;,&quot;info&quot;:&quot;in Europe&quot;},{&quot;id&quot;:1,&quot;value&quot;:&quot;CHINA&quot;,&quot;info&quot;:&quot;in Asia&quot;}]}</description>
		<content:encoded><![CDATA[<blockquote><p>
<a href="#comment-318" rel="nofollow"><br />
<strong><em>Charlie:</em></strong><br />
</a><br />
 Hi, what format does the autocompleter expect the JSON response to be?<br />
E.g. {[result1, result2, result3]}
</p></blockquote>
<p> This is an example:<br />
{&#8220;results&#8221;:[{"id":0,"value":"SPAIN","info":"in Europe"},{"id":1,"value":"CHINA","info":"in Asia"}]}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://www.ramirezcobos.com/labs/ajax-powered-autocomplete/comment-page-1/#comment-318</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Mon, 22 Feb 2010 18:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramirezcobos.com/?page_id=39#comment-318</guid>
		<description>Hi, what format does the autocompleter expect the JSON response to be?

E.g. {[result1, result2, result3]}</description>
		<content:encoded><![CDATA[<p>Hi, what format does the autocompleter expect the JSON response to be?</p>
<p>E.g. {[result1, result2, result3]}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
