<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1002859" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1002859</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/referencing-arrays#comment-1012615</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; Based upon the little you wrote, I&#039;m presuming you have 2 arrays (and not an array within an array)&lt;br /&gt;
 If that is true, then the following:&lt;/p&gt;
&lt;p&gt;   someVar = array1[array2[x]];&lt;br /&gt;
   eval(array1[array2[x]]); &lt;/p&gt;
&lt;p&gt; should work as long as array2[x] is returning an integer within the index range of array1.  (if they are selection lists, you must also remember that it is the &#039;value&#039; of the array being returned.)&lt;/p&gt;
&lt;p&gt;   If you are dealing with arrays within arrays, see the &quot;Arguments Object&quot; and &quot;Rolodex&quot; scripts at my site for examples of accessing data.&lt;/p&gt;
&lt;p&gt;Vinny &lt;a href=&quot;http://members.aol.com/grassblad&quot; class=&quot;bb-url&quot;&gt; GrassBlade: cut&amp;amp;paste javascript&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 05 Feb 2000 19:20:00 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1012615 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
