<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021821" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021821</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/multiple-select-problem-js#comment-1134470</link>
    <description> &lt;p&gt;Nevermind, after a short break I came up with it in no time:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;SelectedArray = new Array(0);&lt;br /&gt;	for (var i=0; i &amp;lt; document.amForm.OisSelect.options.length; i++)&lt;br /&gt;	{&lt;br /&gt;		if(document.amForm.OisSelect.options[i].selected)&lt;br /&gt;			{&lt;br /&gt;			//alert(document.amForm.OisSelect.options[i].value);&lt;br /&gt;			SelectedArray.length = SelectedArray.length+1;&lt;br /&gt;			SelectedArray[SelectedArray.length-1] = document.amForm.OisSelect.options[i];&lt;br /&gt;			}&lt;br /&gt;			&lt;br /&gt;		}&lt;br /&gt;	alert(SelectedArray.length);&lt;br /&gt;	}&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
[edit]typo[/edit]&lt;br /&gt;
&lt;img src=&quot;http://taucherforum.net/forum/laola.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 15 Jul 2003 14:01:30 +0000</pubDate>
 <dc:creator>Jack Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1134470 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
