ajax基本应用

var url = "historydetail.shtml";
var pars = "detail="+modeId;
document.getElementById('a'+divId).innerText="loading......";

var myAjax = new Ajax.Updater(('a'+divId),url, {method: 'get', parameters: pars});

0 Comments:

Post a Comment



 
Copyright 2005-2007. Hello Wiki designed by Fen, Blogger Templates by Blogcrowds.