javascript loops
<p>I have the following javascript array</p>

<pre><code>var a = new array('1', '2', '3', '4');
</code></pre>

<p>I have two links one,two.</p>

<p>On clicking link one. I need to get values 1,2 from array. On clicking link two. I need to get values 3,4.</p>
