活动目录系列之五:单域环境的实现(多站点)下--优化
2009-12-13 15:57
393 查看
js 代码
ajax的用法
$("#love").click(function() {
$.ajax({
type: "POST",
url: "/main?_action=list&s_qdb",
data: "name=John&location=Boston",
success: function(msg){
$("#mxbd").html(msg);
}
});
});
*/
/*循环一个对象数组的用法*/
$("a").each(function(i){
this.href="/../www.baidu.com"
});
});
/*绑定一个事件*/
$("#guige").bind("change", function(){
var gg=document.getElementById("guige").value;
$.ajax({
type: "POST",
url: "wz_cl_result.jsp",
data: "cltype=0&gg=" + gg ,
success: function(msg){
$("#mxbd").html(msg);
}
});
//alert(document.getElementById("guige").value);
});
ajax的用法
$("#love").click(function() {
$.ajax({
type: "POST",
url: "/main?_action=list&s_qdb",
data: "name=John&location=Boston",
success: function(msg){
$("#mxbd").html(msg);
}
});
});
*/
/*循环一个对象数组的用法*/
$("a").each(function(i){
this.href="/../www.baidu.com"
});
});
/*绑定一个事件*/
$("#guige").bind("change", function(){
var gg=document.getElementById("guige").value;
$.ajax({
type: "POST",
url: "wz_cl_result.jsp",
data: "cltype=0&gg=" + gg ,
success: function(msg){
$("#mxbd").html(msg);
}
});
//alert(document.getElementById("guige").value);
});
相关文章推荐
- 活动目录系列之五:单域环境的实现(多站点)下--优化
- 活动目录系列之五:单域环境的实现(多站点)下--优化
- 活动目录系列之五:单域环境的实现(多站点)下--优化
- 活动目录系列之五:单域环境的实现(多站点)下--优化
- 活动目录系列之五:单域环境的实现(多站点)下--优化
- 活动目录系列之五:单域环境的实现(多站点)下--优化
- 活动目录系列之四:单域环境的实现(多站点)--基本配置
- 活动目录系列之四:单域环境的实现(多站点)--基本配置
- 活动目录系列之四:单域环境的实现(多站点)--基本配置
- 活动目录系列之六:多域环境的实现(多站点)
- 活动目录系列之六:多域环境的实现(多站点)
- 活动目录系列之六:多域环境的实现(多站点)
- 活动目录系列之三:多域环境的实现(单站点)
- 活动目录系列之六:多域环境的实现(多站点)
- 活动目录系列之六:多域环境的实现(多站点)
- 活动目录系列之二:单域环境的实现(单站点)
- 活动目录系列之四:单域环境的实现(多站点)--基本配置
- 活动目录系列之二:单域环境的实现(单站点)
- 活动目录系列之二:单域环境的实现(单站点)
- 活动目录系列之二:单域环境的实现(单站点)