<!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>
<meta http-equiv="Content-Type" content="text/ht ......
s.com 域名下有一文件process.asp
VBScript code:
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "No-Cache"
Response.charset="gb2312"
response.Writ ......
dwr框架 viewPaymentList()执行了 它的返回函数,listCallBack(data)中alert('asdf')没有反应,表格部分的代码没有运行,页面上没有增加列表,是什么原因。(编译没有出错)
java类 Operation
function viewPaymentList(){
var request =getRequest();
DWRUtil.removeAllRows("viewPaymentBo ......
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
&nbs ......
现在用的功能相当于选项卡,之前的使用js控制层的现实来识别的,函数如下
JScript code:
function showDiv(id,num)
{ for(i=1;i<=num;i++) {
var currentId="div"+i;
if(id==currentId)
{
document.getElementById(id).style.display="block" ......
看到一个基础ajax
function getResult(stateVal) {
var url = "servlet lectCityServlet?state="+stateVal;
if (window.XMLHttpRequest) {
req = new XMLHttpRequest();
&nbs ......