没有合适的资源?快使用搜索试试~ 我知道了~
jsp+ajax自动刷新实例,有ORCALE优化的朋友给传点上来
资源推荐
资源详情
资源评论
<!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/html;
charset=gb2312" />
<title>ajax修改</title>
<script language="javascript">
// IE support
if (window.ActiveXObject && !window.XMLHttpRequest) {
window.XMLHttpRequest=function()
{
return new
ActiveXObject((navigator.userAgent.toLowerCase().indexOf('msie 5')
!= -1) ? 'Microsoft.XMLHTTP' : 'Msxml2.XMLHTTP');
};
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/html;
charset=gb2312" />
<title>ajax修改</title>
<script language="javascript">
// IE support
if (window.ActiveXObject && !window.XMLHttpRequest) {
window.XMLHttpRequest=function()
{
return new
ActiveXObject((navigator.userAgent.toLowerCase().indexOf('msie 5')
!= -1) ? 'Microsoft.XMLHTTP' : 'Msxml2.XMLHTTP');
};
}
//修改描述
function update(photoID, descvalue) {
var req=new XMLHttpRequest();
if (req) {
req.onreadystatechange=function(){
if (req.readyState==4 && req.status==200) {
if (req.responseText!="") alert(req.responseText);
}
}
}
var act=
document.getElementById("path").value+"/AjaxCtrl";
req.open('POST', act);
//修改描述
function update(photoID, descvalue) {
var req=new XMLHttpRequest();
if (req) {
req.onreadystatechange=function(){
if (req.readyState==4 && req.status==200) {
if (req.responseText!="") alert(req.responseText);
}
}
}
var act=
document.getElementById("path").value+"/AjaxCtrl";
req.open('POST', act);
剩余12页未读,继续阅读
资源评论
xintangchao
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功