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

一个很简单的AJAX互动,为什么页面还是会刷新??

前台代码:

C# code:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="tttt.aspx.cs" Inherits="tttt" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
<!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">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div><div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
</div>

&nbsp;<asp:UpdatePanel id="UpdatePanel1" runat="server"><contenttemplate>
<asp:RadioButtonList id="RBL_content" runat="server" BorderStyle="Dashed" BorderColor="#004040" BorderWidth="1px" RepeatColumns="8">
<asp:ListItem>test</asp:ListItem>
</asp:RadioButtonList>&nbsp;
<


相关问答:

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

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

Ajax长轮询

HTML code:

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

struts2.1 Ajax验证

求一个STRUTS2.1 用DOJO插件 与struts validation 做的 验证的例子
要求 在失去焦点时验证


引用
其实这个就是异步ajax调用而已

jsp上面 有一个输入框  如果失去焦点的时候 应该 触发一个方 ......

struts2 页面上 ajax responseText 返回空

JScript code:

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


function ajaxTest() {

var starttime = document.getElementById(&q ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号