易截截图软件、单文件、免安装、纯绿色、仅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分送上~


相关问答:

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

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

Ajax长轮询

HTML code:

<script type="text/javascript">
<!--
var time = 0;
var http_request=null;
function HttpRequest(){
if (window.ActiveXObject){
......

如何获取Ajax页面中innerHtml

如金山词霸网页左上角上的每日一句
$('#elementID').html();
应该可以吧

别沉了啊!~!

问题不够清晰

document.getElementById("控件ID").innerHtml;

h ......

Hibernate+spting+struts+ajax 整合问题

大家好,请高手们指点
我的servlet文件是:
package com.ljc.rank.ajax;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号