首页 新闻 会员 周边

关于 虚拟进度条问题

0
悬赏园豆:5 [已关闭问题]

我给DIV 添加一个IMG (进度条),为何进度条不能显示?

我的想法是 ajax之间显示进度条,ajax后台操作,完毕后再清除进度条.

$("input[type=button]:eq(3)").click(function(){
  //alert("Ajax");
  var process="<img src=\"images/process.gif\" alt=\"\" width=\"270px\" height=\"26px\" />";
  $("#divprocess").html(process);

//进度条


  $.ajax({
   type:"get",
   url:"Handler.ashx",
   data:{file:"filejdk"},
   dataType:"text",
   success:function(text){
    alert(text);
    $("#divajax").css({
     position:"absolute",
     left:300,
     top:150,
     border:"solid 5px #996666",
     width:"350px",
     height:"320px",
     cursor:"pointer"
    }).html(text).click(function(){
     $(this).fadeOut(1500,function(){
      alert("OK");
     })
    })
   }
  });
  $("#divprocess").html("");
 })

help_hostwork的主页 help_hostwork | 初学一级 | 园豆:6
提问于:2009-04-08 15:28
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册