<?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: jQuery plugin: Autocomplete</title>
	<atom:link href="http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/feed/" rel="self" type="application/rss+xml" />
	<link>http://bassistance.de</link>
	<description>Jörn Zaefferer on Bass, Geeks and Rock'n'Roll</description>
	<lastBuildDate>Tue, 31 Jan 2012 11:18:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jörn</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/comment-page-7/#comment-110756</link>
		<dc:creator>Jörn</dc:creator>
		<pubDate>Sun, 27 Apr 2008 20:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/#comment-110756</guid>
		<description>Comments are now closed.

&lt;ul&gt;
	&lt;li&gt;Please post questions to the &lt;a href=&quot;http://groups.google.com/group/jquery-en&quot; rel=&quot;nofollow&quot;&gt;jQuery discussion list&lt;/a&gt;, putting [autocomplete] into the subject of your post, making it easier to spot it and respond quickly.&lt;/li&gt;
	&lt;li&gt;Please post bug reports and other contributions (enhancements, features) to the &lt;a href=&quot;http://dev.jquery.com/newticket&quot; rel=&quot;nofollow&quot;&gt;jQuery bug tracker&lt;/a&gt; (requires &lt;a href=&quot;http://dev.jquery.com/register&quot; rel=&quot;nofollow&quot;&gt;registration&lt;/a&gt;). Please put [autocomplete] into the title of a ticket.&lt;/li&gt;
&lt;/ul&gt;</description>
		<content:encoded><![CDATA[<p>Comments are now closed.</p>
<ul>
<li>Please post questions to the <a href="http://groups.google.com/group/jquery-en" rel="nofollow">jQuery discussion list</a>, putting [autocomplete] into the subject of your post, making it easier to spot it and respond quickly.</li>
<li>Please post bug reports and other contributions (enhancements, features) to the <a href="http://dev.jquery.com/newticket" rel="nofollow">jQuery bug tracker</a> (requires <a href="http://dev.jquery.com/register" rel="nofollow">registration</a>). Please put [autocomplete] into the title of a ticket.</li>
</ul>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jörn</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/comment-page-7/#comment-110755</link>
		<dc:creator>Jörn</dc:creator>
		<pubDate>Sun, 27 Apr 2008 20:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/#comment-110755</guid>
		<description>@Joe Dolan: I&#039;ll give that a try and add it to the &lt;a href=&quot;http://docs.jquery.com/Plugins/Autocomplete&quot; rel=&quot;nofollow&quot;&gt;docs&lt;/a&gt;. Thanks.

@Brian: Thats fixed in 1.0.

@Jiming: So you want just the list, without any filtering? Whats the point of a replacing a select then?

@dineshv: Setting up json-powered autocomplete is possible and there are several json-examples in the &lt;a href=&quot;http://jquery.bassistance.de/autocomplete/demo/&quot; rel=&quot;nofollow&quot;&gt;demo&lt;/a&gt;. More to come.

@Sean: You should pass that county-data as a parameter, using the extraParams-options. It accepts a callback as parameters, so you just have to specify a function that returns the current county-value.

@Alex: Same as above, use extraParams with functions as the value.

@solot: Yes, it is, with the limitation that values can be added only at the end of the input. Take a look at the multiple-option and related examples in the &lt;a href=&quot;http://jquery.bassistance.de/autocomplete/demo/&quot; rel=&quot;nofollow&quot;&gt;demo&lt;/a&gt;.

@Andrea: Yes, that is a bug. Thanks for reporting, I&#039;ll take a look.

@jiangti: Yes, via the matchContains-option.

@brad vincent: The first issue is fixed. The second is intended behaviour, allowing you to navigate to the end of the list very fast, or back up to the top.

@Dayberry: I&#039;m working on a solution to improve tab-handling.

@Prem: The code is dual-licensed under MIT and GPL, like jQuery itself. Donations (via Paypal) are welcome.

@John: Use the &lt;a href=&quot;http://docs.jquery.com/Plugins/Autocomplete/setOptions#options&quot; rel=&quot;nofollow&quot;&gt;setOptions &lt;/a&gt; method.

@Hesham: The focus/blur issue has top priority. Its in place to avoid the even more annoying issue of accidentally submitting the form.

@Wim Leers: Thanks for confirming the issue and providing example code. I&#039;ll try to fix the issue.

@Raja: You could leverage &lt;a href=&quot;http://docs.jquery.com/Ajax_Events&quot; rel=&quot;nofollow&quot;&gt;jQuery&#039;s global ajax events&lt;/a&gt; to track requests. They all provide the settings that are passed to $.ajax as an argument, so you could match autocomplete requests via settings.url.

@theintoy: Thats an interesting problem of unintended usage. I&#039;ll have to give it a try to see how a workaround could look like. A testpage would help.

@Tuyra POL: What exacetly is the issue?

@Rogers Hellman: Yes, using the &lt;a href=&quot;http://docs.jquery.com/Plugins/Autocomplete/result#handler&quot; rel=&quot;nofollow&quot;&gt;result(Function )-method&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@Joe Dolan: I&#8217;ll give that a try and add it to the <a href="http://docs.jquery.com/Plugins/Autocomplete" rel="nofollow">docs</a>. Thanks.</p>
<p>@Brian: Thats fixed in 1.0.</p>
<p>@Jiming: So you want just the list, without any filtering? Whats the point of a replacing a select then?</p>
<p>@dineshv: Setting up json-powered autocomplete is possible and there are several json-examples in the <a href="http://jquery.bassistance.de/autocomplete/demo/" rel="nofollow">demo</a>. More to come.</p>
<p>@Sean: You should pass that county-data as a parameter, using the extraParams-options. It accepts a callback as parameters, so you just have to specify a function that returns the current county-value.</p>
<p>@Alex: Same as above, use extraParams with functions as the value.</p>
<p>@solot: Yes, it is, with the limitation that values can be added only at the end of the input. Take a look at the multiple-option and related examples in the <a href="http://jquery.bassistance.de/autocomplete/demo/" rel="nofollow">demo</a>.</p>
<p>@Andrea: Yes, that is a bug. Thanks for reporting, I&#8217;ll take a look.</p>
<p>@jiangti: Yes, via the matchContains-option.</p>
<p>@brad vincent: The first issue is fixed. The second is intended behaviour, allowing you to navigate to the end of the list very fast, or back up to the top.</p>
<p>@Dayberry: I&#8217;m working on a solution to improve tab-handling.</p>
<p>@Prem: The code is dual-licensed under MIT and GPL, like jQuery itself. Donations (via Paypal) are welcome.</p>
<p>@John: Use the <a href="http://docs.jquery.com/Plugins/Autocomplete/setOptions#options" rel="nofollow">setOptions </a> method.</p>
<p>@Hesham: The focus/blur issue has top priority. Its in place to avoid the even more annoying issue of accidentally submitting the form.</p>
<p>@Wim Leers: Thanks for confirming the issue and providing example code. I&#8217;ll try to fix the issue.</p>
<p>@Raja: You could leverage <a href="http://docs.jquery.com/Ajax_Events" rel="nofollow">jQuery&#8217;s global ajax events</a> to track requests. They all provide the settings that are passed to $.ajax as an argument, so you could match autocomplete requests via settings.url.</p>
<p>@theintoy: Thats an interesting problem of unintended usage. I&#8217;ll have to give it a try to see how a workaround could look like. A testpage would help.</p>
<p>@Tuyra POL: What exacetly is the issue?</p>
<p>@Rogers Hellman: Yes, using the <a href="http://docs.jquery.com/Plugins/Autocomplete/result#handler" rel="nofollow">result(Function )-method</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jörn</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/comment-page-7/#comment-110703</link>
		<dc:creator>Jörn</dc:creator>
		<pubDate>Sun, 27 Apr 2008 15:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/#comment-110703</guid>
		<description>@Jean: You can now use the formatMatch-option to specify what to use for searching.

@al_shopov: Thanks, fixed.

@graeme d: Wrap the value in a function which returns it, it&#039;ll get called before sending the request.

@Piotr Gabryjeluk: Thanks for the pointer, fixed in latest revision.

@al_shopov: Tickets are preferred for specific requests.

@Gideon: Fixed in 1.0 release.

@Markus: Currently not supported.

@Allan Kikkas: Fixed in 1.0 release.

@mansoft: I&#039;ve successfully used the plugin with german umlauts, yes. Its mostly a matter of the server sending the right encoding - where UTF-8 yields the most reliable results.

@xyz: That fix is now part of the 1.0 release.

@Engels: That issue is fixed in the 1.0 release. Now only the ACTIVE class gets removed on scrolling.

@andreas: Thanks, fixed!</description>
		<content:encoded><![CDATA[<p>@Jean: You can now use the formatMatch-option to specify what to use for searching.</p>
<p>@al_shopov: Thanks, fixed.</p>
<p>@graeme d: Wrap the value in a function which returns it, it&#8217;ll get called before sending the request.</p>
<p>@Piotr Gabryjeluk: Thanks for the pointer, fixed in latest revision.</p>
<p>@al_shopov: Tickets are preferred for specific requests.</p>
<p>@Gideon: Fixed in 1.0 release.</p>
<p>@Markus: Currently not supported.</p>
<p>@Allan Kikkas: Fixed in 1.0 release.</p>
<p>@mansoft: I&#8217;ve successfully used the plugin with german umlauts, yes. Its mostly a matter of the server sending the right encoding &#8211; where UTF-8 yields the most reliable results.</p>
<p>@xyz: That fix is now part of the 1.0 release.</p>
<p>@Engels: That issue is fixed in the 1.0 release. Now only the ACTIVE class gets removed on scrolling.</p>
<p>@andreas: Thanks, fixed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/comment-page-7/#comment-110371</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 25 Apr 2008 18:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/#comment-110371</guid>
		<description>Hey theintoy,

I was just on here and thought I *might* be able to help.

Here&#039;s something I use:

&lt;code&gt;		$(&quot;#driverName&quot;).autocomplete(&quot;../ajax/DriverSearch.php&quot;, {
			delay: 150, minChars: 3, width: 336, max: 10, matchSubset: false, scroll: false,
			formatItem: function (row){
			return &quot;&quot; + row[0] + &quot;&quot; +
			&quot;&quot; + row[2] + &quot;&quot;;},
			formatResult: function (row){return row[0] + &quot;...transferring...&quot;;}
		});
		$(&quot;#driverName&quot;).result(function(event, data, formatted) {
			$(&quot;#driverName&quot;).attr(&quot;disabled&quot;, &quot;disabled&quot;);
			document.location.href = &#039;DriverDisplay.php?driverID=&#039; + data[1];
		});
&lt;/code&gt;

I&#039;m no expert but I think it does what you&#039;re trying to accomplish.</description>
		<content:encoded><![CDATA[<p>Hey theintoy,</p>
<p>I was just on here and thought I *might* be able to help.</p>
<p>Here&#8217;s something I use:</p>
<p><code>		$("#driverName").autocomplete("../ajax/DriverSearch.php", {<br />
			delay: 150, minChars: 3, width: 336, max: 10, matchSubset: false, scroll: false,<br />
			formatItem: function (row){<br />
			return "" + row[0] + "" +<br />
			"" + row[2] + "";},<br />
			formatResult: function (row){return row[0] + "...transferring...";}<br />
		});<br />
		$("#driverName").result(function(event, data, formatted) {<br />
			$("#driverName").attr("disabled", "disabled");<br />
			document.location.href = 'DriverDisplay.php?driverID=' + data[1];<br />
		});<br />
</code></p>
<p>I&#8217;m no expert but I think it does what you&#8217;re trying to accomplish.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogers Hellman</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/comment-page-7/#comment-110321</link>
		<dc:creator>Rogers Hellman</dc:creator>
		<pubDate>Fri, 25 Apr 2008 12:24:51 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/#comment-110321</guid>
		<description>Is there a method for setting a post-selection call back?  I&#039;ve tried using formatResult, but that is being called during the data acquisition.  I&#039;m looking for a way to append data resulting from the selection to a hidden input field.</description>
		<content:encoded><![CDATA[<p>Is there a method for setting a post-selection call back?  I&#8217;ve tried using formatResult, but that is being called during the data acquisition.  I&#8217;m looking for a way to append data resulting from the selection to a hidden input field.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tuyra POL</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/comment-page-7/#comment-110147</link>
		<dc:creator>Tuyra POL</dc:creator>
		<pubDate>Thu, 24 Apr 2008 16:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/#comment-110147</guid>
		<description>Hi;
I want to use multiple suggest with one file.
For ex: 
&lt;code&gt;
	$().ready(function() {
			$(&quot;#tyur&quot;).autocomplete(&quot;hehe.php&quot;, {
				width: 260,
				selectFirst: true
				});
			});		
	$().ready(function() {
			$(&quot;#sdsd&quot;).autocomplete(&quot;hehe.php&quot;, {
				width: 260,
				selectFirst: true
				});
			});		
&lt;/code&gt;
in hehe.php
if ($_GET[&#039;q&#039;])
??????? how can i use it ?</description>
		<content:encoded><![CDATA[<p>Hi;<br />
I want to use multiple suggest with one file.<br />
For ex:<br />
<code><br />
	$().ready(function() {<br />
			$("#tyur").autocomplete("hehe.php", {<br />
				width: 260,<br />
				selectFirst: true<br />
				});<br />
			});<br />
	$().ready(function() {<br />
			$("#sdsd").autocomplete("hehe.php", {<br />
				width: 260,<br />
				selectFirst: true<br />
				});<br />
			});<br />
</code><br />
in hehe.php<br />
if ($_GET['q'])<br />
??????? how can i use it ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dineshv</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/comment-page-7/#comment-110144</link>
		<dc:creator>dineshv</dc:creator>
		<pubDate>Thu, 24 Apr 2008 15:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/#comment-110144</guid>
		<description>I&#039;ve noticed that if multiple: true and multipleSeparator: &#039;string&#039; that it always defaults to string=&quot;, &quot;.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve noticed that if multiple: true and multipleSeparator: &#8216;string&#8217; that it always defaults to string=&#8221;, &#8220;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: theintoy</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/comment-page-7/#comment-110091</link>
		<dc:creator>theintoy</dc:creator>
		<pubDate>Thu, 24 Apr 2008 11:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/#comment-110091</guid>
		<description>OOOppppssss, sorry forgot to format one of the above functions correctly:

&lt;code&gt;
function formatItem(row) {
		return &quot;&amp;lta href=&#039;&quot; + row[0] + &quot;&#039;&amp;gt&quot; + row[1] + &quot;&amp;lt/a&amp;gt&quot;;
	}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>OOOppppssss, sorry forgot to format one of the above functions correctly:</p>
<p><code><br />
function formatItem(row) {<br />
		return "&amp;lta href='" + row[0] + "'&amp;gt" + row[1] + "&amp;lt/a&amp;gt";<br />
	}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: theintoy</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/comment-page-7/#comment-110090</link>
		<dc:creator>theintoy</dc:creator>
		<pubDate>Thu, 24 Apr 2008 11:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/#comment-110090</guid>
		<description>Jörn and other gifted peeps

Hi.

I am trying to do something that seems obvious to me, yet a little weird as nobody else seems to have asked or done it.

I have the plugin working fine, and the backend script supply all the correct data. As the lookup successfully finds what it is looking for, I am trying to make the information returned in the list http link to the found row: 
e.g.
&lt;code&gt;
function formatItem(row) {
		return &quot;&lt;a href=&#039;&quot; + row[0] + &quot;&#039; rel=&quot;nofollow&quot;&gt;&quot; + row[1] + &quot;&lt;/a&gt;&quot;;		
	}
	
	function formatResult(row) {
		return row[1];
	}
	

	$(&#039;#ajaxsearch&#039;).autocomplete(&quot;search.php&quot;, {
		width: 800,
		max: 20,	
		formatItem: formatItem,
		formatResult: formatResult	
	});    
&lt;/code&gt;
The information replied from the server is:
http://www.example.com/first_link.htm&#124;First link...

The problem iis, when the user clicks the link in the list the click is consumed by the component and the href link is not followed.

How can I get this component to not consume the click and therefore enable the browser to follow the href link?</description>
		<content:encoded><![CDATA[<p>Jörn and other gifted peeps</p>
<p>Hi.</p>
<p>I am trying to do something that seems obvious to me, yet a little weird as nobody else seems to have asked or done it.</p>
<p>I have the plugin working fine, and the backend script supply all the correct data. As the lookup successfully finds what it is looking for, I am trying to make the information returned in the list http link to the found row:<br />
e.g.<br />
<code><br />
function formatItem(row) {<br />
		return "<a href='" + row[0] + "' rel="nofollow">" + row[1] + "</a>";<br />
	}</p>
<p>	function formatResult(row) {<br />
		return row[1];<br />
	}</p>
<p>	$('#ajaxsearch').autocomplete("search.php", {<br />
		width: 800,<br />
		max: 20,<br />
		formatItem: formatItem,<br />
		formatResult: formatResult<br />
	});<br />
</code><br />
The information replied from the server is:<br />
<a href="http://www.example.com/first_link.htm" rel="nofollow">http://www.example.com/first_link.htm</a>|First link&#8230;</p>
<p>The problem iis, when the user clicks the link in the list the click is consumed by the component and the href link is not followed.</p>
<p>How can I get this component to not consume the click and therefore enable the browser to follow the href link?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dayberry</title>
		<link>http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/comment-page-7/#comment-109755</link>
		<dc:creator>Dayberry</dc:creator>
		<pubDate>Tue, 22 Apr 2008 20:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/#comment-109755</guid>
		<description>I have a small problem with your code.  I am using a combination of multi selects and single.  On the multi select, when you select an item or two and hit tab, it goes to the next text box, on the single, the cursor disappears and if you hit it one more time, it goes to the very first text box on the page.  It would be very handy if hitting tab again simply continued through the form fields.</description>
		<content:encoded><![CDATA[<p>I have a small problem with your code.  I am using a combination of multi selects and single.  On the multi select, when you select an item or two and hit tab, it goes to the next text box, on the single, the cursor disappears and if you hit it one more time, it goes to the very first text box on the page.  It would be very handy if hitting tab again simply continued through the form fields.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
