<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Multi-Select Transfers Using MooTools&#160;1.2</title> <atom:link href="http://davidwalsh.name/multi-select-transfers-using-mootools-12/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 15:40:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: pSouper</title><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12/comment-page-1#comment-24480</link> <dc:creator>pSouper</dc:creator> <pubDate>Wed, 22 Jun 2011 14:04:31 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=302#comment-24480</guid> <description>For those looking to add the element &quot;pre-selected&quot; then add this line ...el.setProperty(&#039;selected&#039;, &#039;selected&#039;);like this...$(&#039;add&#039;).addEvent(&#039;click&#039;, function() {
$(&#039;select1&#039;).getSelected().each(function(el) {
el.inject($(&#039;select2&#039;)); el.setProperty(&#039;selected&#039;, &#039;selected&#039;);
});
});
$(&#039;remove&#039;).addEvent(&#039;click&#039;, function() { $(&#039;select2&#039;).getSelected().each(function(el) { el.inject($(&#039;select1&#039;));
});
});</description> <content:encoded><![CDATA[<p>For those looking to add the element &#8220;pre-selected&#8221; then add this line &#8230;</p><p>el.setProperty(&#8216;selected&#8217;, &#8216;selected&#8217;);</p><p>like this&#8230;</p><p>$(&#8216;add&#8217;).addEvent(&#8216;click&#8217;, function() {<br
/> $(&#8216;select1&#8242;).getSelected().each(function(el) {<br
/> el.inject($(&#8216;select2&#8242;)); el.setProperty(&#8216;selected&#8217;, &#8216;selected&#8217;);<br
/> });<br
/> });<br
/> $(&#8216;remove&#8217;).addEvent(&#8216;click&#8217;, function() { $(&#8216;select2&#8242;).getSelected().each(function(el) { el.inject($(&#8216;select1&#8242;));<br
/> });<br
/> });</p> ]]></content:encoded> </item> <item><title>By: pSoupre</title><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12/comment-page-1#comment-24479</link> <dc:creator>pSoupre</dc:creator> <pubDate>Wed, 22 Jun 2011 14:02:52 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=302#comment-24479</guid> <description>for those looking to add the element &quot;pre-selected&quot; then add this line ...[CODE]el.setProperty(&#039;selected&#039;, &#039;selected&#039;);[/CODE]like this...
[CODE]
$(&#039;add&#039;).addEvent(&#039;click&#039;, function() {
$(&#039;select1&#039;).getSelected().each(function(el) {
el.inject($(&#039;select2&#039;));
el.setProperty(&#039;selected&#039;, &#039;selected&#039;);
});
});
[/CODE]
$(&#039;remove&#039;).addEvent(&#039;click&#039;, function() {
$(&#039;select2&#039;).getSelected().each(function(el) {
el.inject($(&#039;select1&#039;));
});
});</description> <content:encoded><![CDATA[<p>for those looking to add the element &#8220;pre-selected&#8221; then add this line &#8230;</p><p>[CODE]el.setProperty(&#8216;selected&#8217;, &#8216;selected&#8217;);[/CODE]</p><p>like this&#8230;<br
/> [CODE]<br
/> $(&#8216;add&#8217;).addEvent(&#8216;click&#8217;, function() {<br
/> $(&#8216;select1&#8242;).getSelected().each(function(el) {<br
/> el.inject($(&#8216;select2&#8242;));<br
/> el.setProperty(&#8216;selected&#8217;, &#8216;selected&#8217;);<br
/> });<br
/> });<br
/> [/CODE]<br
/> $(&#8216;remove&#8217;).addEvent(&#8216;click&#8217;, function() {<br
/> $(&#8216;select2&#8242;).getSelected().each(function(el) {<br
/> el.inject($(&#8216;select1&#8242;));<br
/> });<br
/> });</p> ]]></content:encoded> </item> <item><title>By: Thomas Freeman</title><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12/comment-page-1#comment-24253</link> <dc:creator>Thomas Freeman</dc:creator> <pubDate>Sat, 28 May 2011 00:20:44 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=302#comment-24253</guid> <description>Great simple solution - especially with the double click option!  Thanks for sharing this!
Hoping it warms up for a nice Wisconsin Labor Day!</description> <content:encoded><![CDATA[<p>Great simple solution &#8211; especially with the double click option!  Thanks for sharing this!<br
/> Hoping it warms up for a nice Wisconsin Labor Day!</p> ]]></content:encoded> </item> <item><title>By: nemoglobine</title><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12/comment-page-1#comment-23331</link> <dc:creator>nemoglobine</dc:creator> <pubDate>Thu, 31 Mar 2011 15:50:19 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=302#comment-23331</guid> <description>It&#039;s works ...The problem was that i declared many submit events and the first one send the form by ajax before selecting all options. So i placed this code before the form submit and it works ...I hope this will help someone (maybe Scott Boyde !)</description> <content:encoded><![CDATA[<p>It&#8217;s works &#8230;</p><p>The problem was that i declared many submit events and the first one send the form by ajax before selecting all options. So i placed this code before the form submit and it works &#8230;</p><p>I hope this will help someone (maybe Scott Boyde !)</p> ]]></content:encoded> </item> <item><title>By: nemoglobine</title><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12/comment-page-1#comment-23326</link> <dc:creator>nemoglobine</dc:creator> <pubDate>Thu, 31 Mar 2011 09:35:57 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=302#comment-23326</guid> <description>Hy David, thx for your great experienceWhen i send the form, only hilighted options are sentI tried this stuff on submit event but it seem to be done after the form submit ... any ideas ???&lt;code&gt;
$(&#039;select2&#039;).getParent(&#039;form&#039;).addEvent(&#039;submit&#039;, function () {
$(&#039;select2&#039;).getElements(&#039;option&#039;).each(function (el) {
el.set(&#039;selected&#039;, &#039;selected&#039;);
});
});
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Hy David, thx for your great experience</p><p>When i send the form, only hilighted options are sent</p><p>I tried this stuff on submit event but it seem to be done after the form submit &#8230; any ideas ???</p><p><code><br
/> $('select2').getParent('form').addEvent('submit', function () {<br
/> $('select2').getElements('option').each(function (el) {<br
/> el.set('selected', 'selected');<br
/> });<br
/> });<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: pwell</title><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12/comment-page-1#comment-22550</link> <dc:creator>pwell</dc:creator> <pubDate>Thu, 03 Feb 2011 13:50:23 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=302#comment-22550</guid> <description>I use this:&lt;code&gt;
$(&#039;to&#039;).adopt($(&#039;from&#039;).getSelected());
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>I use this:</p><p><code><br
/> $('to').adopt($('from').getSelected());<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: pwell</title><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12/comment-page-1#comment-22549</link> <dc:creator>pwell</dc:creator> <pubDate>Thu, 03 Feb 2011 13:49:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=302#comment-22549</guid> <description>I use this:$(&#039;to&#039;).adopt($(&#039;from&#039;).getSelected());</description> <content:encoded><![CDATA[<p>I use this:</p><p>$(&#8216;to&#8217;).adopt($(&#8216;from&#8217;).getSelected());</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12/comment-page-1#comment-22193</link> <dc:creator>David Walsh</dc:creator> <pubDate>Mon, 03 Jan 2011 15:25:22 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=302#comment-22193</guid> <description>Yes you may Ginger.</description> <content:encoded><![CDATA[<p>Yes you may Ginger.</p> ]]></content:encoded> </item> <item><title>By: ginger</title><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12/comment-page-1#comment-22191</link> <dc:creator>ginger</dc:creator> <pubDate>Mon, 03 Jan 2011 06:15:55 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=302#comment-22191</guid> <description>Hi,Can I use the mootools code for this multi select transfer module for free?Thanks!</description> <content:encoded><![CDATA[<p>Hi,</p><p>Can I use the mootools code for this multi select transfer module for free?</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>By: Tarek</title><link>http://davidwalsh.name/multi-select-transfers-using-mootools-12/comment-page-1#comment-21570</link> <dc:creator>Tarek</dc:creator> <pubDate>Fri, 10 Dec 2010 13:57:09 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=302#comment-21570</guid> <description>btw it will cause a problem on IE8+ using :version:&quot;1.2.1&quot;,build:&quot;0d4845aab3d9a4fdee2f0d4a6dd59210e4b697cf&quot;the error :
Message: JScript object expected
Line: 1
Char: 91770
Code: 0</description> <content:encoded><![CDATA[<p>btw it will cause a problem on IE8+ using :</p><p>version:&#8221;1.2.1&#8243;,build:&#8221;0d4845aab3d9a4fdee2f0d4a6dd59210e4b697cf&#8221;</p><p>the error :<br
/> Message: JScript object expected<br
/> Line: 1<br
/> Char: 91770<br
/> Code: 0</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/19 queries in 0.013 seconds using disk: basic
Object Caching 866/870 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 11:57:52 -->
