dynamic selector for onClick not working
<p>I want to make simple onClick event</p>

<pre><code>$('._1').click(function(){
        window.open('abc.html?parameter=1');
    });
</code></pre>

<p>in above case , i have _1 as a class,
now there are multiple such elements, and 1 here also acts as parameter to window.open request</p>

<p>but there are multiple click events i want to bind</p>

<pre><code>var arrayOfValues = [1,2,4,6,7,8];
for(var z=0;z&lt;arrayOfValues.length;z++)
    $('._'+arrayOfValues[z]+'').click(function(){
        window.open('abc.html?parameter='+arrayOfValues[z]);
    });
</code></pre>

<p>but this is not working</p>
