求教.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分送上~
相关问答:
查看源文件时出来的
<script type="text/javascript">
// <![CDATA[
Sys.Application.initialize();
Sys.Application.add_init(function() {
$create(Sys.UI._Upd ......
HTML code:
<script type="text/javascript">
<!--
var time = 0;
var http_request=null;
function HttpRequest(){
if (window.ActiveXObject){
......
如金山词霸网页左上角上的每日一句
$('#elementID').html();
应该可以吧
别沉了啊!~!
问题不够清晰
document.getElementById("控件ID").innerHtml;
h ......
大家好,请高手们指点
我的servlet文件是:
package com.ljc.rank.ajax;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet ......