<script type="text/javascript">
function getNewsList()
{
$.ajax({
url: "../../../sms/config/newscontent.do?datagrid&field=id,author,title,keywords,groupId,createTime,groupName",
dataType: "json",
success: function(data) {
//pageNo = data.pageNo;
//total = data.total;
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);
}
}
});
}
$(function() {
getNewsList();
});
</script>
function getNewsList()
{
$.ajax({
url: "../../../sms/config/newscontent.do?datagrid&field=id,author,title,keywords,groupId,createTime,groupName",
dataType: "json",
success: function(data) {
//pageNo = data.pageNo;
//total = data.total;
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);
}
}
});
}
$(function() {
getNewsList();
});
</script>