you can use each loop for anchor tag and get the text of current tag and add it to following anchor tag as its title
<script type="text/javascript" language="javascript">
$(document).ready(function() {
$('a').each(function() {
$(this).attr("title", $(this).text());
});
});
</script>