HTML:
Tue, 15th May 2012 10:11
Tue, 15th May 2012 10:12
Tue, 15th May 2012 10:13
Tue, 15th May 2012 10:14
Tue, 15th May 2012 10:15
Tue, 16th May 2012 21:08
Tue, 16th May 2012 21:07
Tue, 16th May 2012 21:06
jQuery:
$("li").each(function () {
words = $(this).text().split(' ');
xxx = words[1]+" "+words[2]+" "+words[3]+",";
$("code").append(xxx);
});
Сейчас я перешел к этому шагу, но я не знаю, как проверить дату дублирования и добавить уникальную дату
Демонстрация: http:// jsfiddle.net/4kvUy/