add and remove attr when a radio button is checked
<p>html:</p>

<pre><code>&lt;input type="text" id="txtExternalLink" style="display:none"/&gt;
</code></pre>

<p>in radio button  </p>

<pre><code>$('#rdbExternalLink').bind("click", function() {
    $('#txtExternalLink').removeAttr("style");
});
</code></pre>

<p>its work n text box is appear. But</p>

<pre><code>$('#rdbPages').bind("click", function() {
    $('#txtExternalLink').addAttr('style="display:none"');
});  
</code></pre>

<p>its not work.Plz help to find correct way to do this.Thanks.</p>
