<?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 JSON Suggest/Search Box</title>
	<atom:link href="http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomcoote.co.uk</link>
	<description>An ace web developer!</description>
	<lastBuildDate>Tue, 31 Jan 2012 19:47:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John Crennan</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-27092</link>
		<dc:creator>John Crennan</dc:creator>
		<pubDate>Mon, 31 Oct 2011 09:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-27092</guid>
		<description>just found out my answer

function callback(item) {
	setURL = &#039;http://www.afltcc.com.au/index.php?option=com_jumi&amp;fileid=78&amp;Itemid=177&amp;SID=&#039; + item.id;
 window.location.assign(setURL)
}</description>
		<content:encoded><![CDATA[<p>just found out my answer</p>
<p>function callback(item) {<br />
	setURL = &#8216;http://www.afltcc.com.au/index.php?option=com_jumi&amp;fileid=78&amp;Itemid=177&amp;SID=&#8217; + item.id;<br />
 window.location.assign(setURL)<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Coote</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-27091</link>
		<dc:creator>Tom Coote</dc:creator>
		<pubDate>Mon, 31 Oct 2011 09:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-27091</guid>
		<description>If you&#039;re passing an array of data to the plugin then the callback function will receive the array item that was selected by the user. So if your array is...

[{id: 1, text: &#039;one&#039;}, {id: 2, text: &#039;two&#039;}]

...and the user chooses &#039;two&#039; then the callback will be passed the second item which would be {id: 2, text: &#039;two&#039;}. Find inside the function you can then use item.id or item.text for what ever you need.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re passing an array of data to the plugin then the callback function will receive the array item that was selected by the user. So if your array is&#8230;</p>
<p>[{id: 1, text: 'one'}, {id: 2, text: 'two'}]</p>
<p>&#8230;and the user chooses &#8216;two&#8217; then the callback will be passed the second item which would be {id: 2, text: &#8216;two&#8217;}. Find inside the function you can then use item.id or item.text for what ever you need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crennan</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-27089</link>
		<dc:creator>John Crennan</dc:creator>
		<pubDate>Mon, 31 Oct 2011 08:39:20 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-27089</guid>
		<description>I am using your JSON suggesBox script and still fairly new to javascript.

I am hoping from the result selected to be able to use the item ID as part of a URL

i.e. http://www.sitename.com/index.php?option=com_jumi&amp;fileid=78&amp;Itemid=177&amp;SID={item.id}

but for the life of me cant work out how to do this, I assume that it is in the callback(item) code.
function callback(item) {
	alert(&#039;You selected \&#039;&#039; + item.text + &#039;\&#039;\n\n&#039;);
}

Any suggestion would be appreciated or if there is a better way to do this.</description>
		<content:encoded><![CDATA[<p>I am using your JSON suggesBox script and still fairly new to javascript.</p>
<p>I am hoping from the result selected to be able to use the item ID as part of a URL</p>
<p>i.e. <a href="http://www.sitename.com/index.php?option=com_jumi&amp;fileid=78&amp;Itemid=177&amp;SID=" rel="nofollow">http://www.sitename.com/index.php?option=com_jumi&amp;fileid=78&amp;Itemid=177&amp;SID=</a>{item.id}</p>
<p>but for the life of me cant work out how to do this, I assume that it is in the callback(item) code.<br />
function callback(item) {<br />
	alert(&#8216;You selected \&#8221; + item.text + &#8216;\&#8217;\n\n&#8217;);<br />
}</p>
<p>Any suggestion would be appreciated or if there is a better way to do this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Coote</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-21654</link>
		<dc:creator>Tom Coote</dc:creator>
		<pubDate>Thu, 01 Sep 2011 17:42:46 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-21654</guid>
		<description>I&#039;m not sure how it would perform with that many possible results, slowly at a guess. If you use the max results setting then performance would be better depending on what was searched for.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure how it would perform with that many possible results, slowly at a guess. If you use the max results setting then performance would be better depending on what was searched for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khensolomon</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-21652</link>
		<dc:creator>khensolomon</dc:creator>
		<pubDate>Thu, 01 Sep 2011 17:24:45 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-21652</guid>
		<description>First thing first!

Thank you for your code. It is very hard to find such a nice script. It&#039;s work on every Browsers! I was wondering about one thing: is there any size limitation? Because i have plan to use on chrome extension as dictionary -&gt; auto-suggest and i will have 80000 words or more. 

or

can we have something like:

var FA = str.substr(0,1);
$.getJSON(FA +&quot;_wordlist.txt&quot;,
		function(data){
			$(&#039;input#suggestBox3&#039;).jsonSuggest(data, {maxResults:20});
		}
	);

thank you
khen</description>
		<content:encoded><![CDATA[<p>First thing first!</p>
<p>Thank you for your code. It is very hard to find such a nice script. It&#8217;s work on every Browsers! I was wondering about one thing: is there any size limitation? Because i have plan to use on chrome extension as dictionary -&gt; auto-suggest and i will have 80000 words or more. </p>
<p>or</p>
<p>can we have something like:</p>
<p>var FA = str.substr(0,1);<br />
$.getJSON(FA +&#8221;_wordlist.txt&#8221;,<br />
		function(data){<br />
			$(&#8216;input#suggestBox3&#8242;).jsonSuggest(data, {maxResults:20});<br />
		}<br />
	);</p>
<p>thank you<br />
khen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Coote</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-14236</link>
		<dc:creator>Tom Coote</dc:creator>
		<pubDate>Sat, 28 May 2011 18:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-14236</guid>
		<description>You can&#039;t give it a URL for the onSelect method. onSelect can only be a function and gets passed the item that was selected. In that function you can do what you want though, like send the data to a URL.</description>
		<content:encoded><![CDATA[<p>You can&#8217;t give it a URL for the onSelect method. onSelect can only be a function and gets passed the item that was selected. In that function you can do what you want though, like send the data to a URL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anti Login</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-14104</link>
		<dc:creator>Anti Login</dc:creator>
		<pubDate>Thu, 26 May 2011 22:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-14104</guid>
		<description>Hi Tom, this is very useful code. Can you please elaborate on above topic? Is it possible to set onselect to point to an URL (for each object selected). I wasn&#039;t able to see it working on example number 3. Thanks in advance...</description>
		<content:encoded><![CDATA[<p>Hi Tom, this is very useful code. Can you please elaborate on above topic? Is it possible to set onselect to point to an URL (for each object selected). I wasn&#8217;t able to see it working on example number 3. Thanks in advance&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Coote</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-13819</link>
		<dc:creator>Tom Coote</dc:creator>
		<pubDate>Mon, 23 May 2011 14:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-13819</guid>
		<description>Hi, it&#039;s been tested in FireFox 4 and works well. Do you have an example of it not working on the web so I can see?</description>
		<content:encoded><![CDATA[<p>Hi, it&#8217;s been tested in FireFox 4 and works well. Do you have an example of it not working on the web so I can see?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ravindranath</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-13818</link>
		<dc:creator>ravindranath</dc:creator>
		<pubDate>Mon, 23 May 2011 13:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-13818</guid>
		<description>Hi there,

I am trying to use your jsonSuggest js file in my code, but unfortunately its not working. I am working on firefox 4.0 version. Please let me know ASAP if there are any changes to be made to the code, so that it works on FF4. Any help would be appreciated.

Thanks,

Ravindranath</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I am trying to use your jsonSuggest js file in my code, but unfortunately its not working. I am working on firefox 4.0 version. Please let me know ASAP if there are any changes to be made to the code, so that it works on FF4. Any help would be appreciated.</p>
<p>Thanks,</p>
<p>Ravindranath</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery JSON Suggest/Search Box v2 &#124; Tom Coote</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-7232</link>
		<dc:creator>jQuery JSON Suggest/Search Box v2 &#124; Tom Coote</dc:creator>
		<pubDate>Tue, 22 Feb 2011 19:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-7232</guid>
		<description>[...] have updated my previous auto suggest box plugin for jQuery. It has been a long time coming, the improvements are a [...]</description>
		<content:encoded><![CDATA[<p>[...] have updated my previous auto suggest box plugin for jQuery. It has been a long time coming, the improvements are a [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

