eChanged_showplist()
{
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") //xmlHttp.readyState==4 4表示读取结束
{
document.getElementById("loadstatus").innerHTML = " ";
table = document.getElementById("pagebody"); //生成TALBE Element
for (i = table.rows.length-1; i >= 0; i–) //要删除原来有的行,不然表格会无限延伸
table.deleteRow(i);
xmlroot = xmlHttp.responseXML.getElementsByTagName("movie"); //取得XML所需要的根
for (i=0;i<xmlroot.length;i++)
{
//简单的DOM,生成表格。
tr = table.insertRow(-1);
td = tr.insertCell(-1);
td.align = "center";
td.innerHTML = ‘<span class="warntxt">''+xmlroot[i].getAttribute(''id'')+''</span>'';
td = tr.insertCell(-1);
td.innerHTML = xmlroot[i].firstChild.data;
td = tr.insertCell(-1);
td.innerHTML = xmlroot[i].getAttribute(''type'');
}
//定义翻页
链接 page = xmlHttp.responseXML.getElementsByTagName("data")[0].getAttribute(''page'')
if (page >1)
{
prepage = page*1-1;
var changpage = "<a href=''javascript:showpage("+ prepage +")''></a> ";
}
else
{
changpage = " ";
}
if (page <3)
{
nextpage = page*1+1;
changpage +