<?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 for Tom Coote</title>
	<atom:link href="http://tomcoote.co.uk/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomcoote.co.uk</link>
	<description>A web developers blog</description>
	<lastBuildDate>Tue, 27 Jul 2010 00:42:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on jQuery JSON Suggest/Search Box by Niclas Lindqvist</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-410</link>
		<dc:creator>Niclas Lindqvist</dc:creator>
		<pubDate>Tue, 27 Jul 2010 00:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-410</guid>
		<description>Hi, we have a hopefully easy question..

How can we &quot;remove&quot; a json object or update it&#039;s content?

E.g, we have a json object with a list of elements and when the user changes some value, we want to reload the json object with new elements.

Any help would be helpful.</description>
		<content:encoded><![CDATA[<p>Hi, we have a hopefully easy question..</p>
<p>How can we &#8220;remove&#8221; a json object or update it&#8217;s content?</p>
<p>E.g, we have a json object with a list of elements and when the user changes some value, we want to reload the json object with new elements.</p>
<p>Any help would be helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery JSON Suggest/Search Box by Daniel</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-270</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 13 Jul 2010 15:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-270</guid>
		<description>All you have to do to make the plugin compatible with jQuery 1.4 is to change

$().mousemove(function (e) {
	pageX = e.pageX;
	pageY = e.pageY;
});

to $(document) or $(window) instead, since jQuery 1.4 made that a breaking change, so it&#039;ll return an empty jQuery object instead of taking the document.</description>
		<content:encoded><![CDATA[<p>All you have to do to make the plugin compatible with jQuery 1.4 is to change</p>
<p>$().mousemove(function (e) {<br />
	pageX = e.pageX;<br />
	pageY = e.pageY;<br />
});</p>
<p>to $(document) or $(window) instead, since jQuery 1.4 made that a breaking change, so it&#8217;ll return an empty jQuery object instead of taking the document.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery JSON Suggest/Search Box by marek</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-269</link>
		<dc:creator>marek</dc:creator>
		<pubDate>Tue, 13 Jul 2010 14:00:18 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-269</guid>
		<description>Hi, thx for great plugin, but i have a little problem.
I&#039;m using ajax to retrieve data, and i dont know how to wait until ajax is ready. I&#039;m using jsonp with no synchronous support :(

var result;
(&#039;input#input&#039;).jsonSuggest(

        function(text, wildCard, caseSensitive, notCharacter) {                        

            var surl = &#039;http://myurl;

            $.ajax({                
                cache: false,
                url: surl,
                dataType: &quot;jsonp&quot;,
	        jsonp : &quot;callback&quot;,
                success: function(data) {
                    result = data;                                 
                }
            });

            return result;                       

	}, {ajaxResults:true});

Result is returned before ajax is completed :( so it&#039;s empty
I tried delay() and similar but nothing worked :(

Thank you for any help. I&#039;m hopeless.</description>
		<content:encoded><![CDATA[<p>Hi, thx for great plugin, but i have a little problem.<br />
I&#8217;m using ajax to retrieve data, and i dont know how to wait until ajax is ready. I&#8217;m using jsonp with no synchronous support <img src='http://tomcoote.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>var result;<br />
(&#8216;input#input&#8217;).jsonSuggest(</p>
<p>        function(text, wildCard, caseSensitive, notCharacter) {                        </p>
<p>            var surl = &#8216;http://myurl;</p>
<p>            $.ajax({<br />
                cache: false,<br />
                url: surl,<br />
                dataType: &#8220;jsonp&#8221;,<br />
	        jsonp : &#8220;callback&#8221;,<br />
                success: function(data) {<br />
                    result = data;<br />
                }<br />
            });</p>
<p>            return result;                       </p>
<p>	}, {ajaxResults:true});</p>
<p>Result is returned before ajax is completed <img src='http://tomcoote.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  so it&#8217;s empty<br />
I tried delay() and similar but nothing worked <img src='http://tomcoote.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Thank you for any help. I&#8217;m hopeless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery JSON Suggest/Search Box by Tom Coote</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-267</link>
		<dc:creator>Tom Coote</dc:creator>
		<pubDate>Tue, 13 Jul 2010 08:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-267</guid>
		<description>Hi Drew, I&#039;ll probably get around to it one day. Since 1.4 has come out jQuery have released their own auto suggest box UI component which is pretty good. I started a new project recently with 1.4 but never used this plugin but when I do use it with 1.4 I&#039;ll no doubt do a fix for it too.</description>
		<content:encoded><![CDATA[<p>Hi Drew, I&#8217;ll probably get around to it one day. Since 1.4 has come out jQuery have released their own auto suggest box UI component which is pretty good. I started a new project recently with 1.4 but never used this plugin but when I do use it with 1.4 I&#8217;ll no doubt do a fix for it too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery JSON Suggest/Search Box by drew</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-264</link>
		<dc:creator>drew</dc:creator>
		<pubDate>Tue, 13 Jul 2010 04:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-264</guid>
		<description>Hi Tom

I fixed it by targeting the nearest div and hiding teh results on mouseover

$(&#039;#hp-layout&#039;).bind(&#039;mouseover&#039;, function(){ 
		$(&#039;.jsonSuggestResults&#039;).hide();
		});	

I&#039;m sure you can come up with something for your plugin though otherwise your awesome plugin will no longer work with new versions of jquery

Cheers
Drew</description>
		<content:encoded><![CDATA[<p>Hi Tom</p>
<p>I fixed it by targeting the nearest div and hiding teh results on mouseover</p>
<p>$(&#8216;#hp-layout&#8217;).bind(&#8216;mouseover&#8217;, function(){<br />
		$(&#8216;.jsonSuggestResults&#8217;).hide();<br />
		});	</p>
<p>I&#8217;m sure you can come up with something for your plugin though otherwise your awesome plugin will no longer work with new versions of jquery</p>
<p>Cheers<br />
Drew</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery JSON Suggest/Search Box by drew</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-262</link>
		<dc:creator>drew</dc:creator>
		<pubDate>Tue, 13 Jul 2010 04:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-262</guid>
		<description>Hi Tom

I was wondering if you knew why your json suggest doesn&#039;t work in the latest version of jquery 1.4.  It does work it just doesn&#039;t lose focus when you click out of it.  So it always remains open. Are there any plans to fix this?

Cheers
Drew</description>
		<content:encoded><![CDATA[<p>Hi Tom</p>
<p>I was wondering if you knew why your json suggest doesn&#8217;t work in the latest version of jquery 1.4.  It does work it just doesn&#8217;t lose focus when you click out of it.  So it always remains open. Are there any plans to fix this?</p>
<p>Cheers<br />
Drew</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery JSON Suggest/Search Box by Roomee</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-210</link>
		<dc:creator>Roomee</dc:creator>
		<pubDate>Tue, 06 Jul 2010 14:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-210</guid>
		<description>nops, still not working , I also tried to fix it in the jquery.JSONSuggest.js
But there isn&#039;t anything for width.
everything else is great but width for the DIV, 

I wonder if I m missing any default value in the JS file with the name maxwidth or minwidth.


(function($){$.fn.jsonSuggest=function(searchData,settings){var defaults={minCharacters:3,maxResults:5,wildCard:&quot;&quot;,caseSensitive:false,notCharacter:&quot;!&quot;,maxHeight:400,highlightMatches:true,onSelect:undefined,ajaxResults:false};


maxHeight:400 &gt;&gt;&gt; minwidth:???</description>
		<content:encoded><![CDATA[<p>nops, still not working , I also tried to fix it in the jquery.JSONSuggest.js<br />
But there isn&#8217;t anything for width.<br />
everything else is great but width for the DIV, </p>
<p>I wonder if I m missing any default value in the JS file with the name maxwidth or minwidth.</p>
<p>(function($){$.fn.jsonSuggest=function(searchData,settings){var defaults={minCharacters:3,maxResults:5,wildCard:&#8221;",caseSensitive:false,notCharacter:&#8221;!&#8221;,maxHeight:400,highlightMatches:true,onSelect:undefined,ajaxResults:false};</p>
<p>maxHeight:400 &gt;&gt;&gt; minwidth:???</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery JSON Suggest/Search Box by Tom Coote</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-209</link>
		<dc:creator>Tom Coote</dc:creator>
		<pubDate>Tue, 06 Jul 2010 13:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-209</guid>
		<description>You need to do:

jQuery(function() {
    $(&#039;input.tsearchbox&#039;).jsonSuggest(testData.products, {onSelect:callback, width:400});
});</description>
		<content:encoded><![CDATA[<p>You need to do:</p>
<p>jQuery(function() {<br />
    $(&#8216;input.tsearchbox&#8217;).jsonSuggest(testData.products, {onSelect:callback, width:400});<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery JSON Suggest/Search Box by Roomee</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-208</link>
		<dc:creator>Roomee</dc:creator>
		<pubDate>Tue, 06 Jul 2010 13:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-208</guid>
		<description>Thanks Tom,

But I can not see this working myside,

i am using class not ID for the searchbox.

jQuery(function() {
$(‘input.tsearchbox’).jsonSuggest(testData.products, {onSelect:callback});
$(‘input.tsearchbox’).jsonSuggest({width:400});
});</description>
		<content:encoded><![CDATA[<p>Thanks Tom,</p>
<p>But I can not see this working myside,</p>
<p>i am using class not ID for the searchbox.</p>
<p>jQuery(function() {<br />
$(‘input.tsearchbox’).jsonSuggest(testData.products, {onSelect:callback});<br />
$(‘input.tsearchbox’).jsonSuggest({width:400});<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery JSON Suggest/Search Box by Roomee</title>
		<link>http://tomcoote.co.uk/code-bank/jquery-json-suggestsearch-box/comment-page-1/#comment-207</link>
		<dc:creator>Roomee</dc:creator>
		<pubDate>Tue, 06 Jul 2010 13:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://cootetom.co.uk/?page_id=53#comment-207</guid>
		<description>Thanks Tom,

But I can see this working myside,

i am using class not ID for the searchbox.

jQuery(function() {
	$(&#039;input.tsearchbox&#039;).jsonSuggest(testData.products, {onSelect:callback});
	$(&#039;input.tsearchbox&#039;).jsonSuggest({width:400});
	});</description>
		<content:encoded><![CDATA[<p>Thanks Tom,</p>
<p>But I can see this working myside,</p>
<p>i am using class not ID for the searchbox.</p>
<p>jQuery(function() {<br />
	$(&#8216;input.tsearchbox&#8217;).jsonSuggest(testData.products, {onSelect:callback});<br />
	$(&#8216;input.tsearchbox&#8217;).jsonSuggest({width:400});<br />
	});</p>
]]></content:encoded>
	</item>
</channel>
</rss>
