<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-21222625.post115998684514262913..comments</id><updated>2010-01-22T05:15:24.278-05:00</updated><title type='text'>Comments on The Pothoven Post: Move options up and down select lists</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.pothoven.net/feeds/115998684514262913/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html'/><author><name>Steven Pothoven</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-21222625.post-6602794689562150499</id><published>2010-01-22T05:15:24.278-05:00</published><updated>2010-01-22T05:15:24.278-05:00</updated><title type='text'>Good One</title><content type='html'>Good One</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/6602794689562150499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/6602794689562150499'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1264155324278#c6602794689562150499' title=''/><author><name>Shrutha</name><uri>http://www.blogger.com/profile/05068974067634373466</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-1099188725871342337</id><published>2009-12-07T12:59:10.142-05:00</published><updated>2009-12-07T12:59:10.142-05:00</updated><title type='text'>You can use selectedIndex to get the selected opti...</title><content type='html'>You can use selectedIndex to get the selected option number and instead of creating a new function to move down, why not just call the up function for the item below the one you want to move down?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/1099188725871342337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/1099188725871342337'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1260208750142#c1099188725871342337' title=''/><author><name>AntonioCS</name><uri>http://www.blogger.com/profile/12183229151617353036</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-3135054433309202539</id><published>2009-04-05T13:53:00.000-04:00</published><updated>2009-04-05T13:53:00.000-04:00</updated><title type='text'>This is great and a common thing thats needed.  If...</title><content type='html'>This is great and a common thing thats needed.  If you are wanting to order things to get them into a database then you will need all option selected before submitting to see all values in their order.  Simple bit to add but thought I would post as it may help someone.  Just call this function onsubmit of the form to select all options.&lt;BR/&gt;&lt;BR/&gt;function checkThem ()&lt;BR/&gt;{&lt;BR/&gt; for (i=0;1&amp;lt;=document.getElementById(&amp;#39;orderedList&amp;#39;).options.length;i++)&lt;BR/&gt; {&lt;BR/&gt;  document.getElementById(&amp;#39;orderedList&amp;#39;).options[i].selected=true;&lt;BR/&gt; }&lt;BR/&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/3135054433309202539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/3135054433309202539'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1238953980000#c3135054433309202539' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-165706166715475726</id><published>2008-10-31T13:51:00.000-04:00</published><updated>2008-10-31T13:51:00.000-04:00</updated><title type='text'>saved me lots of time- thanks dude</title><content type='html'>saved me lots of time- thanks dude</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/165706166715475726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/165706166715475726'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1225475460000#c165706166715475726' title=''/><author><name>Joe</name><uri>http://www.blogger.com/profile/15547268752834093398</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-1755953892378534881</id><published>2008-03-17T10:47:00.000-04:00</published><updated>2008-03-17T10:47:00.000-04:00</updated><title type='text'>Very useful functions, thanks.</title><content type='html'>Very useful functions, thanks.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/1755953892378534881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/1755953892378534881'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1205765220000#c1755953892378534881' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-1753156640420664451</id><published>2008-02-04T11:18:00.000-05:00</published><updated>2008-02-04T11:18:00.000-05:00</updated><title type='text'>I had found another way of doing this but this was...</title><content type='html'>I had found another way of doing this but this was much simpler and meant I code cut 10 lines of PHP code out reformatting the contents of a field.&lt;BR/&gt;&lt;BR/&gt;Many thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/1753156640420664451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/1753156640420664451'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1202141880000#c1753156640420664451' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-5399218832029445385</id><published>2008-01-17T13:02:00.000-05:00</published><updated>2008-01-17T13:02:00.000-05:00</updated><title type='text'>Saved loads of dev time. Thanks.  Slight bug in ie...</title><content type='html'>Saved loads of dev time. Thanks.  Slight bug in ie7 - the selected item won't move to the top position of the list. Solved by adding orderedList.focus(); after calling the moveup function on the button. Cool!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/5399218832029445385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/5399218832029445385'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1200592920000#c5399218832029445385' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-960860960596783246</id><published>2008-01-07T15:09:00.000-05:00</published><updated>2008-01-07T15:09:00.000-05:00</updated><title type='text'>Tks for the example, very clear and didatic!</title><content type='html'>Tks for the example, very clear and didatic!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/960860960596783246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/960860960596783246'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1199736540000#c960860960596783246' title=''/><author><name>Foxmcloud</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-8290278403352492085</id><published>2007-12-21T10:33:00.000-05:00</published><updated>2007-12-21T10:33:00.000-05:00</updated><title type='text'>are very cool code manreally.........helped a loth...</title><content type='html'>are very cool code man&lt;BR/&gt;really.........&lt;BR/&gt;helped a lot&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;ha ha ha ha ha ha ha ha ha ha ha ha &lt;BR/&gt;***************************************8</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/8290278403352492085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/8290278403352492085'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1198251180000#c8290278403352492085' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-1322372367772923932</id><published>2007-11-05T22:58:00.000-05:00</published><updated>2007-11-05T22:58:00.000-05:00</updated><title type='text'>works like a charm and saved me a bunch of time - ...</title><content type='html'>works like a charm and saved me a bunch of time - thanks!!!! ;)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/1322372367772923932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/1322372367772923932'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1194321480000#c1322372367772923932' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-2191848693318462728</id><published>2007-10-24T19:08:00.000-04:00</published><updated>2007-10-24T19:08:00.000-04:00</updated><title type='text'>Very simple and effective code..thanks</title><content type='html'>Very simple and effective code..thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/2191848693318462728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/2191848693318462728'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1193267280000#c2191848693318462728' title=''/><author><name>smith</name><uri>http://www.blogger.com/profile/10920839215358984013</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-6813734748747938378</id><published>2007-10-24T19:07:00.000-04:00</published><updated>2007-10-24T19:07:00.000-04:00</updated><title type='text'>Thanks so much for this code..saved a lot of time</title><content type='html'>Thanks so much for this code..saved a lot of time</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/6813734748747938378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/6813734748747938378'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1193267220000#c6813734748747938378' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-1889367842681561888</id><published>2007-09-14T04:32:00.000-04:00</published><updated>2007-09-14T04:32:00.000-04:00</updated><title type='text'>There is no insertAfter function but you can make ...</title><content type='html'>There is no insertAfter function but you can make the following code in moveOptionsDown function :&lt;BR/&gt;&lt;BR/&gt;var nextOpt = selectOptions[i + 1]; selectList.removeChild(nextOpt );&lt;BR/&gt;selectList.insertBefore(nextOpt , selectOptions[i]);</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/1889367842681561888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/1889367842681561888'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1189758720000#c1889367842681561888' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-8289400437324179344</id><published>2007-08-16T13:40:00.000-04:00</published><updated>2007-08-16T13:40:00.000-04:00</updated><title type='text'>Really good one. Somebody needs to take initiative...</title><content type='html'>Really good one. Somebody needs to take initiative for repeatative work..And that you</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/8289400437324179344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/8289400437324179344'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1187286000000#c8289400437324179344' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-5498171348736088622</id><published>2007-03-07T07:32:00.000-05:00</published><updated>2007-03-07T07:32:00.000-05:00</updated><title type='text'>This was fantastic help.  Now on to the next chall...</title><content type='html'>This was fantastic help.  Now on to the next challenge.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/5498171348736088622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/5498171348736088622'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1173270720000#c5498171348736088622' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-21222625.post-750589888493153481</id><published>2007-02-24T17:05:00.000-05:00</published><updated>2007-02-24T17:05:00.000-05:00</updated><title type='text'>thanks.  this saved me 30 minutes of work.</title><content type='html'>thanks.  this saved me 30 minutes of work.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/750589888493153481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21222625/115998684514262913/comments/default/750589888493153481'/><link rel='alternate' type='text/html' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html?showComment=1172354700000#c750589888493153481' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.pothoven.net/2006/10/move-options-up-and-down-select-lists.html' ref='tag:blogger.com,1999:blog-21222625.post-115998684514262913' source='http://www.blogger.com/feeds/21222625/posts/default/115998684514262913' type='text/html'/></entry></feed>