Conditional always evaluates as if true
<p>I wrote this post function in my jquery plugin and then faced to a strange problem .</p>

<p>Is the condition statement in this jquery code correct ?</p>

<pre><code>if(info = "enabled"){
    $("#mod"+mod_id+" &gt; img.status").attr("src","images/active.gif");
}else if(info = "disabled"){
    $("#mod"+mod_id+" &gt; img.status").attr("src","images/inactive.gif");
}else{
    $("#waiting"+mod_id).delay(2000).html(\'&lt;img src="images/error.png" /&gt;\'+data);
}
</code></pre>

<p>Problem is that it only returns the value enabled and can't handle the "disabled" value</p>
