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");
I would probably do something like this:
var formattedDate = $('span.date').attr('title');
$('span.date').html(formattedDate);
if you have multiple date spans on the page, you may need to use
the .each() method
On Jun 12, 12:33 pm, jay7 wrote:
> Hi, I have this:
>
> 14 May 2009
>
> .. and I'
2 matches
Mail list logo