function contentStringHtml(data, name) {
var list;
$.each(data.DataTime, function(i, item) {
list += '<li class="gm-trafic-li">' + item.TimeAndTo + '</li>';
});
return '<div id="gm-event-title"><h2>'+name+'</h2></div>' +
'<div class="gm-trafic-index">' +
'<ul>'+list+'</ul></div>';
}
David
2009-11-20 17:24:40