<?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: An editable select list plugin for jQuery</title>
	<atom:link href="http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/</link>
	<description>Just another developer blog</description>
	<lastBuildDate>Sat, 04 Sep 2010 23:43:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: enjoy</title>
		<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/comment-page-1/#comment-3757</link>
		<dc:creator>enjoy</dc:creator>
		<pubDate>Fri, 06 Aug 2010 15:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://coffeescripter.com/?p=114#comment-3757</guid>
		<description>Good plugin just what i need!</description>
		<content:encoded><![CDATA[<p>Good plugin just what i need!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gdever</title>
		<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/comment-page-1/#comment-3609</link>
		<dc:creator>gdever</dc:creator>
		<pubDate>Fri, 16 Jul 2010 01:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://coffeescripter.com/?p=114#comment-3609</guid>
		<description>Good plugin just what i need!</description>
		<content:encoded><![CDATA[<p>Good plugin just what i need!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaore</title>
		<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/comment-page-1/#comment-3284</link>
		<dc:creator>Kaore</dc:creator>
		<pubDate>Sat, 26 Jun 2010 08:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://coffeescripter.com/?p=114#comment-3284</guid>
		<description>Hi Andy, I want to use this script for my site, but I need a way to update the content of the list once it has been initialized. What is the best way to do that?</description>
		<content:encoded><![CDATA[<p>Hi Andy, I want to use this script for my site, but I need a way to update the content of the list once it has been initialized. What is the best way to do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes</title>
		<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/comment-page-1/#comment-2903</link>
		<dc:creator>Johannes</dc:creator>
		<pubDate>Sun, 16 May 2010 10:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://coffeescripter.com/?p=114#comment-2903</guid>
		<description>Hello

First of all...thank you for this nice plugin. It will probably help me but it is not working with the latest jquery 1.4.2
the function select.editableSelectInstances(); only gets the result [undefined].
If you don&#039;t have time to do it please give me at least a hint what the problem is so maybe I could do it. But at the moment I just have no clue. For example I just don&#039;t know where the &quot;editable-selecter&quot; at $(this).data(&#039;editable-selecter&#039;) comes from.
greetings

Johannes</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>First of all&#8230;thank you for this nice plugin. It will probably help me but it is not working with the latest jquery 1.4.2<br />
the function select.editableSelectInstances(); only gets the result [undefined].<br />
If you don&#8217;t have time to do it please give me at least a hint what the problem is so maybe I could do it. But at the moment I just have no clue. For example I just don&#8217;t know where the &#8220;editable-selecter&#8221; at $(this).data(&#8216;editable-selecter&#8217;) comes from.<br />
greetings</p>
<p>Johannes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gray</title>
		<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/comment-page-1/#comment-2876</link>
		<dc:creator>Gray</dc:creator>
		<pubDate>Fri, 14 May 2010 13:51:11 +0000</pubDate>
		<guid isPermaLink="false">http://coffeescripter.com/?p=114#comment-2876</guid>
		<description>Very cool plugin!
I have one feature request: is it possible to add a handler when a user type a value that does not exist on the list? For example, add the new value as an option, and optionally send it via Ajax (so one could add it in a database for the next access)</description>
		<content:encoded><![CDATA[<p>Very cool plugin!<br />
I have one feature request: is it possible to add a handler when a user type a value that does not exist on the list? For example, add the new value as an option, and optionally send it via Ajax (so one could add it in a database for the next access)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Babkov</title>
		<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/comment-page-1/#comment-2854</link>
		<dc:creator>Alex Babkov</dc:creator>
		<pubDate>Wed, 12 May 2010 09:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://coffeescripter.com/?p=114#comment-2854</guid>
		<description>Plugin won&#039;t work with jQuery 1.4.2 due to a change in the data method. Calling data on an undefined index will now return a typeof of object not undefined. Change the relevant lines to check for null reference instead: 
e.g. instead of using this to check if it hasn&#039;t been set: typeof $(this).data(&#039;editable-select&#039;) == &#039;undefined&#039;
use this instead: $(this).data(&#039;editable-select&#039;) == null

Great plugin by the way!!</description>
		<content:encoded><![CDATA[<p>Plugin won&#8217;t work with jQuery 1.4.2 due to a change in the data method. Calling data on an undefined index will now return a typeof of object not undefined. Change the relevant lines to check for null reference instead:<br />
e.g. instead of using this to check if it hasn&#8217;t been set: typeof $(this).data(&#8216;editable-select&#8217;) == &#8216;undefined&#8217;<br />
use this instead: $(this).data(&#8216;editable-select&#8217;) == null</p>
<p>Great plugin by the way!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphaël Lemaire</title>
		<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/comment-page-1/#comment-2810</link>
		<dc:creator>Raphaël Lemaire</dc:creator>
		<pubDate>Tue, 04 May 2010 15:44:08 +0000</pubDate>
		<guid isPermaLink="false">http://coffeescripter.com/?p=114#comment-2810</guid>
		<description>Hi,

Your plugin works great and helped me a lot. Thanks !

I&#039;ve added a few things, if you are interested : 

You cannot add attributes to the generated input such as maxlength or onClick and so on. So I added a new map in the settings : 

var defaults = { bg_iframe: false, onSelect: false, items_then_scroll: 10, case_sensitive: false, attributes : {} };

Wich is used later in the script : 

this.text.addClass(&#039;editable-select&#039;);

// copying the given attributes
for (attributeKey in settings.attributes) {    	
    this.text.attr(attributeKey, settings.attributes[attributeKey]);
}
      
this.select.attr(&#039;id&#039;, id +&#039;_hidden_select&#039;);

The settings can then be customized this way : 

bg_iframe: true, // corrects an ie bug, according to the site
onSelect: function(list_item) {
    $(&#039;#results&#039;).html(&#039;List item text: &#039;+ list_item.text() +&#039; \
    Input value: &#039;+ this.text.val());
},
attributes : { &#039;onPaste&#039;  : &#039;return false&#039;, &#039;autocomplete&#039; : &#039;off&#039;, &#039;size&#039; : &#039;30&#039;, &#039;maxlength&#039; : &#039;70&#039; } 

I also changed the min height property of &quot;.editable-select-options li&quot; to make empty options visible : 

.editable-select-options li {
	cursor: default;
	padding: 2px;
	min-height: 1em;
}

Regards, 
Raphaël Lemaire</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Your plugin works great and helped me a lot. Thanks !</p>
<p>I&#8217;ve added a few things, if you are interested : </p>
<p>You cannot add attributes to the generated input such as maxlength or onClick and so on. So I added a new map in the settings : </p>
<p>var defaults = { bg_iframe: false, onSelect: false, items_then_scroll: 10, case_sensitive: false, attributes : {} };</p>
<p>Wich is used later in the script : </p>
<p>this.text.addClass(&#8216;editable-select&#8217;);</p>
<p>// copying the given attributes<br />
for (attributeKey in settings.attributes) {<br />
    this.text.attr(attributeKey, settings.attributes[attributeKey]);<br />
}</p>
<p>this.select.attr(&#8216;id&#8217;, id +&#8217;_hidden_select&#8217;);</p>
<p>The settings can then be customized this way : </p>
<p>bg_iframe: true, // corrects an ie bug, according to the site<br />
onSelect: function(list_item) {<br />
    $(&#8216;#results&#8217;).html(&#8216;List item text: &#8216;+ list_item.text() +&#8217; \<br />
    Input value: &#8216;+ this.text.val());<br />
},<br />
attributes : { &#8216;onPaste&#8217;  : &#8216;return false&#8217;, &#8216;autocomplete&#8217; : &#8216;off&#8217;, &#8217;size&#8217; : &#8216;30&#8242;, &#8216;maxlength&#8217; : &#8216;70&#8242; } </p>
<p>I also changed the min height property of &#8220;.editable-select-options li&#8221; to make empty options visible : </p>
<p>.editable-select-options li {<br />
	cursor: default;<br />
	padding: 2px;<br />
	min-height: 1em;<br />
}</p>
<p>Regards,<br />
Raphaël Lemaire</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/comment-page-1/#comment-1668</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Fri, 19 Mar 2010 20:20:23 +0000</pubDate>
		<guid isPermaLink="false">http://coffeescripter.com/?p=114#comment-1668</guid>
		<description>Doesn&#039;t work with jquery-1.4.2</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t work with jquery-1.4.2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johann Blake</title>
		<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/comment-page-1/#comment-1419</link>
		<dc:creator>Johann Blake</dc:creator>
		<pubDate>Fri, 05 Mar 2010 17:48:36 +0000</pubDate>
		<guid isPermaLink="false">http://coffeescripter.com/?p=114#comment-1419</guid>
		<description>If you place your dropdown inside a table cell and expand the dropdown, the list appears in the upper left corner of the browser&#039;s client area.</description>
		<content:encoded><![CDATA[<p>If you place your dropdown inside a table cell and expand the dropdown, the list appears in the upper left corner of the browser&#8217;s client area.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atashbahar</title>
		<link>http://coffeescripter.com/2009/07/an-editable-select-list-plugin-for-jquery/comment-page-1/#comment-1378</link>
		<dc:creator>Atashbahar</dc:creator>
		<pubDate>Tue, 02 Mar 2010 19:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://coffeescripter.com/?p=114#comment-1378</guid>
		<description>Not working with jQuery 1.4.2 for some reason!</description>
		<content:encoded><![CDATA[<p>Not working with jQuery 1.4.2 for some reason!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
