how to call a jquery / java script variable acuretly
<p>i have <code>#cross_1 , #cross_2 , #cross_3 , #cross_4</code> 
and every <code>#cross_id</code> have each <code>#id_green</code></p>

<p>not showing any result nor any error... </p>

<pre><code>var setId = 2; 

var defaultTime = 3000;


$(document).ready(function () { 

    setLight(setId,defaultTime);

});

function setLight(setId,defaultTime) {


    //deactivateAll();

    activeGreen(setId,defaultTime);

}

function deactivateAll() {


    $('#cross_1 #id_red').addClass('red');

    $('#cross_2 #id_red').addClass('red');

    $('#cross_3 #id_red').addClass('red');

    $('#cross_4 #id_red').addClass('red');

}

function activeGreen(setId,defaultTime) {

    alert('#cross_'+setId+ '#id_green');

    $('#cross_'+setId+ '#id_green').addClass('green');

}


function activeYellow() {

    //$('#cross_'+setId+ ',#id_yellow').addClass('yellow');

}
</code></pre>
