For example:
I want to add target=_blank
in any PDF link comes inside this css class "class="newWindow"
Before adding script
<div class="newWindow" >
<a href="pdf1.pdf">link text</a>
<a href="pdf2.pdf">link text</a>
</div>
After adding script
<div class="newWindow" >
<a href="Pdf1.pdf" target="_blank">link text</a>
<a href="Pdf2.pdf" target="_blank">link text</a>
</div>
Please provide jquery code with no conflict.