My page completely designed in some jquery file for all over application so I want to do below jquery action in one page only.
How to remove an 'anchor' element from 'div' element which have group of anchors with same class and not have any Ids.
in my page i just have below element only.
<div class="tools"> </div>
</div>
so when I running the page then there shows many anchor elements from which i want to remove one anchor, which class is 'dt-button btn default'.Below is the generated code.
<div class="dt-buttons">
<a class="dt-button buttons-print btn default" tabindex="0" aria-controls="sample_2" href="#"><span>Print</span></a>
<a class="dt-button buttons-copy buttons-html5 btn default" tabindex="0" aria-controls="sample_2" href="#"><span>Copy</span></a>
<a class="dt-button buttons-pdf buttons-html5 btn default" tabindex="0" aria-controls="sample_2" href="#"><span>PDF</span></a>
<a class="dt-button buttons-excel buttons-html5 btn default" tabindex="0" aria-controls="sample_2" href="#"><span>Excel</span></a>
<a class="dt-button btn default" tabindex="0" aria-controls="sample_2" href="#"><span>Reload</span></a>
</div>
when I trying below code then remaining anchors getting effect.
$(".dt-button btn default").remove();