function getNewsList()
{
$.ajax({
url: "../../../sms/config/newscontent.do?datagrid&field=id,author,title,keywords,groupId,createTime,groupName",
dataType: "json",
success: function(data) {
if(data && data.rows.length!=0){
for(var i=0;i<data.rows.length;i++){
var row = data.rows[i];
var title = row.title;
}
$("span").html(title);
}
}
});
}
{
$.ajax({
url: "../../../sms/config/newscontent.do?datagrid&field=id,author,title,keywords,groupId,createTime,groupName",
dataType: "json",
success: function(data) {
if(data && data.rows.length!=0){
for(var i=0;i<data.rows.length;i++){
var row = data.rows[i];
var title = row.title;
}
$("span").html(title);
}
}
});
}