根据学习中心刷新报名点
来源:互联网 发布:client mac addr dhcp 编辑:程序博客网 时间:2024/04/30 14:20
//根据studyCenter刷新RegistrationPoint
function refreshRegistrationPointAjax()
{
var studyCenterID = document.getElementById("studyCenter").value; //传参studyCenterID
refreshRegistrationPoint(studyCenterID);
}
function refreshRegistrationPoint(studyCenterID){
createXmlHttp(); //创建XMLHttpRequest对象
xmlHttp.onreadystatechange = refreshRegistrationPointElement; //设置回调函数
xmlHttp.open("POST", "../registrationPointByStudyCenterIDAjax", true); //发送POST请求
xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
xmlHttp.send("studyCenterID="+studyCenterID);
}
//处理服务器返回的信息 更新报名点下拉框
function refreshRegistrationPointElement()
{
if(xmlHttp.readyState == 4)
{
if(xmlHttp.status == 200)
{
//此处xmlHttp.responseText是请求的*Controller的某个方法返回的渲染页面的源代码
document.getElementById("registrationPointList").innerHTML = xmlHttp.responseText;
}
}
}
function refreshRegistrationPointAjax()
{
var studyCenterID = document.getElementById("studyCenter").value; //传参studyCenterID
refreshRegistrationPoint(studyCenterID);
}
function refreshRegistrationPoint(studyCenterID){
createXmlHttp(); //创建XMLHttpRequest对象
xmlHttp.onreadystatechange = refreshRegistrationPointElement; //设置回调函数
xmlHttp.open("POST", "../registrationPointByStudyCenterIDAjax", true); //发送POST请求
xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
xmlHttp.send("studyCenterID="+studyCenterID);
}
//处理服务器返回的信息 更新报名点下拉框
function refreshRegistrationPointElement()
{
if(xmlHttp.readyState == 4)
{
if(xmlHttp.status == 200)
{
//此处xmlHttp.responseText是请求的*Controller的某个方法返回的渲染页面的源代码
document.getElementById("registrationPointList").innerHTML = xmlHttp.responseText;
}
}
}
0 0
- 根据学习中心刷新报名点
- 根据apk报名加载资源实例
- jeesite 根据活动id查看报名列表
- Unity之一天一个技术点(十三)---以指定对象为中心,根据鼠标位置旋转照相机
- 全国公共英语等级考试考试报名点汇总
- 报名
- 报名
- 报名
- 报名
- 根据DEDE自制报名系统(有后台和权限)
- Android 根据指定报名跳转到指定应用之中
- DWZ根据ID刷新 dialog
- 根据条件刷新datagrid表格
- 组团报名 即得免费学习资料
- 报名 | “阳奉阴违”的半监督学习算法
- 报名 | “阳奉阴违”的半监督学习算法
- 微软学生学习中心
- VC++ MSDN学习中心
- JQuery,ajax同步异步设置
- 学习方法地址合辑
- java struts2 文件上传
- 排序
- Gecko 线程分析三
- 根据学习中心刷新报名点
- 漫无目的的工作状态
- shell 编程 错误 [: missing ]
- java中类的继承1
- Java基础01 从HelloWorld到面向对象
- Xcode5离线安装IOS6、IOS5模拟器
- ON DUPLICATE KEY UPDATE
- 练习冷备份时的杂想
- 交叉编译 nginx