<?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: son of multiselect</title>
	<atom:link href="http://verens.com/archives/2005/04/27/son-of-multiselect/feed/" rel="self" type="application/rss+xml" />
	<link>http://verens.com/archives/2005/04/27/son-of-multiselect/</link>
	<description>php, linux, ajax, javascript, kae verens</description>
	<pubDate>Wed, 07 Jan 2009 02:56:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: BioGooFun &#187; Once upon a time &#8230;&#8230; BioGooFun !</title>
		<link>http://verens.com/archives/2005/04/27/son-of-multiselect/comment-page-2/#comment-110242</link>
		<dc:creator>BioGooFun &#187; Once upon a time &#8230;&#8230; BioGooFun !</dc:creator>
		<pubDate>Wed, 17 Dec 2008 09:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2005/04/27/son-of-multiselect/#comment-110242</guid>
		<description>[...] great instance was when I found out this great webpage that helped me to create a nice multi select box for a biological database interface that needed to [...]</description>
		<content:encoded><![CDATA[<p>[...] great instance was when I found out this great webpage that helped me to create a nice multi select box for a biological database interface that needed to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rossa</title>
		<link>http://verens.com/archives/2005/04/27/son-of-multiselect/comment-page-2/#comment-53617</link>
		<dc:creator>Rossa</dc:creator>
		<pubDate>Wed, 25 Jul 2007 22:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2005/04/27/son-of-multiselect/#comment-53617</guid>
		<description>Hi! i was trying to use this with two listboxes with multiple selection but sincronized with ajax....not working for me....:(</description>
		<content:encoded><![CDATA[<p>Hi! i was trying to use this with two listboxes with multiple selection but sincronized with ajax&#8230;.not working for me&#8230;.:(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: onlyafriend</title>
		<link>http://verens.com/archives/2005/04/27/son-of-multiselect/comment-page-2/#comment-45722</link>
		<dc:creator>onlyafriend</dc:creator>
		<pubDate>Wed, 02 May 2007 13:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2005/04/27/son-of-multiselect/#comment-45722</guid>
		<description>does anyone knows how to implement buttons to move up and move down options?
actually i'm using javascript code like this:
http://www.mattkruse.com/javascript/selectbox/

but i'd like to know if i can help to 'son of multiselect' can works with buttons to move options.
thanks</description>
		<content:encoded><![CDATA[<p>does anyone knows how to implement buttons to move up and move down options?<br />
actually i&#8217;m using javascript code like this:<br />
<a href="http://www.mattkruse.com/javascript/selectbox/" rel="nofollow">http://www.mattkruse.com/javascript/selectbox/</a></p>
<p>but i&#8217;d like to know if i can help to &#8217;son of multiselect&#8217; can works with buttons to move options.<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/archives/2005/04/27/son-of-multiselect/comment-page-2/#comment-19355</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Wed, 16 Aug 2006 13:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2005/04/27/son-of-multiselect/#comment-19355</guid>
		<description>Nihar - it's not really designed to be manipulated via JavaScript.

Anyway - here is some code that might do it. I have not tested it, so it may have some small bugs.

function getSelectedInputs(select_name){
  var inputs=[],selected_inputs=[],els=document.getElementsByTagName('input'),i;
  {
  for(i in els)if(els[i].name==select_name+'[]')inputs[inputs.length]=els[i];
  for(i in inputs)if(inputs[i].checked)selected_inputs[selected_inputs.length]=i;
  return selected_inputs;
}

the above should return an array containing the indices of the selected inputs.</description>
		<content:encoded><![CDATA[<p>Nihar - it&#8217;s not really designed to be manipulated via JavaScript.</p>
<p>Anyway - here is some code that might do it. I have not tested it, so it may have some small bugs.</p>
<p>function getSelectedInputs(select_name){<br />
  var inputs=[],selected_inputs=[],els=document.getElementsByTagName(&#8217;input&#8217;),i;<br />
  {<br />
  for(i in els)if(els[i].name==select_name+&#8217;[]&#8216;)inputs[inputs.length]=els[i];<br />
  for(i in inputs)if(inputs[i].checked)selected_inputs[selected_inputs.length]=i;<br />
  return selected_inputs;<br />
}</p>
<p>the above should return an array containing the indices of the selected inputs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nihar</title>
		<link>http://verens.com/archives/2005/04/27/son-of-multiselect/comment-page-2/#comment-19353</link>
		<dc:creator>Nihar</dc:creator>
		<pubDate>Wed, 16 Aug 2006 12:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2005/04/27/son-of-multiselect/#comment-19353</guid>
		<description>Hi,
Can you pls let me know how to get the values of the checkboxes selected?
I can't grab those in a java script function.
Pls make an early reply.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Can you pls let me know how to get the values of the checkboxes selected?<br />
I can&#8217;t grab those in a java script function.<br />
Pls make an early reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/archives/2005/04/27/son-of-multiselect/comment-page-2/#comment-16877</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Thu, 13 Jul 2006 07:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2005/04/27/son-of-multiselect/#comment-16877</guid>
		<description>Thank you. Someday, I'll get around to the rewrite I've promised, but it is good that this old code is still useful!</description>
		<content:encoded><![CDATA[<p>Thank you. Someday, I&#8217;ll get around to the rewrite I&#8217;ve promised, but it is good that this old code is still useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://verens.com/archives/2005/04/27/son-of-multiselect/comment-page-2/#comment-16838</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Thu, 13 Jul 2006 02:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2005/04/27/son-of-multiselect/#comment-16838</guid>
		<description>This is a great script! It does wonders for cleaning up and simplifying information collection for me.

Thanks for the time and effort. It's very much appreciated.</description>
		<content:encoded><![CDATA[<p>This is a great script! It does wonders for cleaning up and simplifying information collection for me.</p>
<p>Thanks for the time and effort. It&#8217;s very much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kae</title>
		<link>http://verens.com/archives/2005/04/27/son-of-multiselect/comment-page-2/#comment-14467</link>
		<dc:creator>kae</dc:creator>
		<pubDate>Wed, 21 Jun 2006 14:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2005/04/27/son-of-multiselect/#comment-14467</guid>
		<description>Hi Scott, I've added a new function to the code. it's called "multiselect_hasSelected(name)". it should return true if there is a selection, and false if not. I haven't tested it, but it should work fine (it looks okay to me).

I think it's time I rewrote this... maybe I'll do it tonight.</description>
		<content:encoded><![CDATA[<p>Hi Scott, I&#8217;ve added a new function to the code. it&#8217;s called &#8220;multiselect_hasSelected(name)&#8221;. it should return true if there is a selection, and false if not. I haven&#8217;t tested it, but it should work fine (it looks okay to me).</p>
<p>I think it&#8217;s time I rewrote this&#8230; maybe I&#8217;ll do it tonight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://verens.com/archives/2005/04/27/son-of-multiselect/comment-page-2/#comment-14465</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Wed, 21 Jun 2006 14:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2005/04/27/son-of-multiselect/#comment-14465</guid>
		<description>I have another question for the javascript gurus here.  On the form where I have this script implemented I need to force the user to make at least one selection from the list.  When the form is submitted I run a javascript function that is suppose to check the elements marked as required to be sure they have a value.  I've tried various scripts that I found on the web that is suppose to check SELECT MULTIPLE elements and I cannot seem to get them to work when this script is in place. 
Can anyone provide such a quick function that is known to work with this script?    
Thanks again.</description>
		<content:encoded><![CDATA[<p>I have another question for the javascript gurus here.  On the form where I have this script implemented I need to force the user to make at least one selection from the list.  When the form is submitted I run a javascript function that is suppose to check the elements marked as required to be sure they have a value.  I&#8217;ve tried various scripts that I found on the web that is suppose to check SELECT MULTIPLE elements and I cannot seem to get them to work when this script is in place.<br />
Can anyone provide such a quick function that is known to work with this script?<br />
Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://verens.com/archives/2005/04/27/son-of-multiselect/comment-page-2/#comment-14183</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 19 Jun 2006 19:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2005/04/27/son-of-multiselect/#comment-14183</guid>
		<description>Nevermind... it helps to read what others write..... sorry, I now see that update from John two posts up from mine and have that working now also.  Thanks everyone for the hard work.  This script is sooo cool.  Keep up the good work.</description>
		<content:encoded><![CDATA[<p>Nevermind&#8230; it helps to read what others write&#8230;.. sorry, I now see that update from John two posts up from mine and have that working now also.  Thanks everyone for the hard work.  This script is sooo cool.  Keep up the good work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
