checkbox checked or unchecked
<pre><code>function Check_Clickd_li(objRef) {
    var btn1 = $find("&lt;%= RadButton1.ClientID %&gt;");
    var btn2 = $find("&lt;%= RadButton2.ClientID %&gt;");                
    if (objRef.checked = true) {
        btn1.set_enabled(true);
        btn2.set_enabled(true);
        alert("Enable");
    }
    else if (objRef.checked = false) {
        btn1.set_enabled(false);
        btn2.set_enabled(false);
        alert("Disable");
    }
}
</code></pre>

<p>What is the problem in this code? It always says "Enable".</p>
