<div class="pagination">
<a id="1">1</a>
<a id="2">2</a>
<a id="3">3</a>
<a id="4">4</a>
</div>
For each of those pages 1-2-3-4 I want to replace their values with Date to become something like >
<div class="pagination">
<a id="1">22 Oct</a>
<a id="2">23 Oct</a>
<a id="3">24 Oct</a>
<a id="4">25 Oct</a>
</div>
I have create an array where to store the dates. And I need to make the script which will replace those values, can some one help me ?