Hello,
would someone help me on how i can use jquery to remove the a tag from this table tb?
here the code
<td class="tue past has-events" id=“2012_calendar-2011-11-01”>
<div class=“inner”><div class=“month day”> 1</div><div class=“view-item view-item-2012_calendar”>
<div class=“calendar.1164.field_time.0.0 calendar monthview”>
<div class=“view-field view-data-node-vid node-vid”>
<span class="tcm-speaker-nopop">Alex</span> </div>
<div class="view-field view-data-node-data-field-time-field-time-value node-data-field-time-field-time-value">
<span class="tcm-time-nopop"><span class="date-display-single"><span class="date-display-start">11:00 am</span><span class="date-display-separator"> - </span><span class="date-display-end">12:00 pm</span></span></span> </div>
<div class="view-field view-data-node-title node-title">
[COLOR=#ff0000]<a href="/free-course/preview-mix-match-30-formulas">[/COLOR]A Preview</a> </div>
</div>
</div>
</div> </td>
I want use jquery DOM to remove the a tag.
I need to grab that from the class (tb.past) down to the a tag in letter red.
I have tried the (td.pass > a) doens’t work form.
Any advice.
thx