Brilliant, thanks a lot. Here is the final script that does exactly what I wanted:
$(".date").each( function (i) { var formattedDate = $(this).attr('title'); $(this).html(formattedDate); }); $('.date').removeAttr("title");
Brilliant, thanks a lot. Here is the final script that does exactly what I wanted:
$(".date").each( function (i) { var formattedDate = $(this).attr('title'); $(this).html(formattedDate); }); $('.date').removeAttr("title");