I have following HTML:
<td class="sorting_1">
<a href="/show/1">1</a>
<a href="/show/2">2</a>
<a href="/show/3">3</a>
<a href="/show/4">4</a>
<a href="/show/5">5</a>
<a href="/show/6">6</a>
</td>
Output:
1 2 3 4 5 6
I want to have such that the <br>
tag is added after 3 anchor tag, so the output looks like following:
1 2 3
4 5 6
How to do in jQuery?