Need to remove target attribute from anchor tag before it gets added on above TD
<p>I am using HTML and Jquery</p>

<p>Below is the html code for <strong>TD</strong> which gets appended after matching the <strong>IDs</strong> from below LI HTML code</p>

<pre><code>&lt;td style="border-top-style: solid; border-right-style: solid; border-left-style: solid;
                    border-bottom-style: solid" id="Physical"&gt;
                    Physical Science Course
                &lt;/td&gt;

    &lt;li id="PhysicalTooltip"&gt;&lt;a href="#" target="_blank" class="toolTip"&gt;
        &lt;img src="/images/q_mark.gif" alt="" /&gt;&lt;span style="width: 300px; padding: 10px 10px 10px 55px;"&gt;Testing
            Physical.&lt;/span&gt;&lt;/a&gt; &lt;/li&gt;
</code></pre>

<p>Here is Jquery which matches the relative IDs and takes  tag from above LI and further append in above TD</p>

<pre><code>$(document).ready(function() 
            {

                    // bind to cells with an ID attribute
                    $("table &gt; tbody &gt; tr &gt; td[id]").each(function() 
                    {                

                        // grab the anchor from the LI whose ID starts with the cell's ID
                        var $tooltip = $("div:hidden li[id^=" + $(this).attr("id") + "] a");

                        //alert($tooltip);

                        // append it to the current cell
                        $(this).append($tooltip);

                    });
            });
</code></pre>

<p>Now I want to remove my <strong>target</strong> attribute from  before it gets appended to above TD.</p>

<p>Please suggest!</p>
