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

怎么用JQUERY进行AJAX?

对$.GET()这个方法操作的时候总是不能得到效果,现在有下的代码,请高手看一下哪错了
test.aspx页面中的代码:HTML code:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="text2.aspx.cs" Inherits="程序文件_text2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<script type ="text/javascript" src="../程序文件/js/jquery.js" language ="javascript" ></script>
<script type ="text/javascript" src="../程序文件/js/test.js" language ="javascript"></script>

<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="textbox1" runat="server"></asp:TextBox>
<asp:TextBox ID="textbox2" runat="server"></asp:TextBox>

</div>
</form>
</body>
</html>

接着我在VS2005中建了一个一般处理程序:test.ashx,代码如下:
C# code



Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeH


相关问答:

大家看看我的代码有什么问题(关于ajax的)

在家研究ajax,看了别人的一个网上购物商城项目的源代码,自己也来仿别人的东西练习练习,没想出问题了!一下的这些代码是我仿照别人写的。我是想让注册的人填写用户名,光标离开用户名后面的填写空白处后立刻利用aj ......

ajax 取不到数据

http://localhost:8080/xx/zz.do  显示 out的 xml 数据

xml.open("GET",arguments[0],true);// arguments[0]是 /xx/zz.do

xml.send();

alert(arguments[0]);//这边有

x ......

jquery ajax json webService 问题

 javascript代码如下:

$(document).ready(function() {
            $("#btn2").click(function() {
              $.aja ......

Ajax长轮询

HTML code:

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

ajax问题

我用xmlhttprequest返回xml数据
返回之后我想在后台取到该xml作为数据绑定控件的数据源
ViewState怎么处理?

我用xmlhttprequest返回xml数据
返回之后我想在后台取到该xml作为数据绑定控件的数据源
- ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号