Posted on 2008-07-10 17:35
追梦人 阅读(169)
评论(0) 编辑 收藏 所属分类:
Ajax
<script type="text/javascript">
function showUser(iu,iy,state){
}
function showResponse(response){
$('div_text').innerHTML = response.responseText;
}
function showZiker(iu,iy,state){
//state 0:不强制载入 1:强制载入
if(state == 0)
{
if($('div_text2').innerHTML != '')
{
return;
}
}
var url = '/joblist/queryziker.html';
var pars = 'pageIndex='+iu+'&totalCount='+iy;
var myAjax = new Ajax.Request(url,{method:'post',parameters:pars,onComplete:showResponse1,asynchronous:false});
}
function showResponse1(response){
$('div_text2').innerHTML = response.responseText;
}
callOnLoad(function(){
showUser(1,-1,1);
});
</script>