How to enable a linkbutton server control using javascript?
<p>I have a linkbutton server control in my page whose Enabled attribute is initially set to "false". When a text box's text changes I would like to enable the linkbutton. I tried the following but it does not work. Could you let me know if i am missing something.</p>

<pre><code>function TextBox_TextChanged()
{
    var control = $get("&lt;%= linkButtonSave.ClientID%&gt;");
    if(control != null)
        control.enabled = true;
}
</code></pre>

<p>Thanks</p>
