Dynamic id name in jquery
<p>I have this code to add class and remove attribute,but the problem is that I have dynamic id name who depends from row id. I try with <code>'#ee'+x</code> but doesn't work. Please help, how can I set dynamic value in jQuery  </p>

<pre><code>$('#ee').change(function(){
    if ($(this).is(":checked")) {
        $('#we').addClass("hide");
        $('.re').removeAttr('checked');
    }
    else {
        $('#we').removeClass("hide");
    }
});
</code></pre>
