易截截图软件、单文件、免安装、纯绿色、仅160KB

求教.net里使用jquery ajax的方法

C# code:

protected void Button1_Click(object sender, EventArgs e)
{
System.IO.File.Delete("01.html");
Response.Write("正在删除01.html成功");

System.IO.File.Delete("xx.html");
Response.Write("正在删除xx.html成功");

System.IO.File.Delete("hh.html");
Response.Write("正在删除hh.html成功");

System.IO.File.Delete("kk.html");
Response.Write("正在删除05.html成功");

System.IO.File.Delete("uuu.html");
Response.Write("正在删除uuu.html成功");

System.IO.File.Move("oo.html", "ooo.html");
Response.Write("oo.html重命名ooo.html成功");

System.IO.Directory.CreateDirectory("aa");
Response.Write("创建aa目录成功");

System.IO.Directory.Delete("bb");
Response.Write("创建bb目录成功");
}



上面的方法步骤,怎么通过jquery的ajax方式一步一步的输出,达到实时显示,即操作既显示。

最好能有代码,先送上100分,如果解决了问题在送上100分
帮顶

Up


谢谢楼上,200分送上~


相关问答:

DW 配置Ajax 环境问题..

想知道怎么在DW中运行Ajax


我运行的文件报这个错..
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Unknown: Failed opening requir ......

为什么页面一加上Ajax就出错

查看源文件时出来的
<script type="text/javascript">
// <![CDATA[
Sys.Application.initialize();
Sys.Application.add_init(function() {
    $create(Sys.UI._Upd ......

struts2 页面上 ajax responseText 返回空

JScript code:

var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")


function ajaxTest() {

var starttime = document.getElementById(&q ......

JS或AJAX处理动态更换图片效果的问题

  如图所示
 
 
 
  请高手们给个方案~~~~~  在此谢过~~~~~~~~
点击 换一套我喜欢的面具
用js改变下图像的src就可以了

引用
点击 换一套我喜欢的面具 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号