jQuery selector
<pre><code>var obj = document.getElementById("&lt;%= tbUpdate.ClientID %&gt;");
    var colorid = obj.value;
    $('.shade[colorId=colorid]').addClass('active');
</code></pre>

<p>the problem is with the colorId=colorid. I think jQuery thinks that its string. How can I pass value from var colorid into selector?</p>
