前台:
jQuery(document).ready(function($)
{
$("#div1").mouseover(function() {
alert('ddddddd');
});
$("#btnGetValue").click(function() {
var vUrl = $("#hUrl").val();
$.ajax(
{
type: "POST",
url: vUrl,
data: null,
beforeSend: function(xhr) {
xhr.setRequestHeader("ajaxpro-method", "HelloWorld");
},
success: function(s) {
alert(s);
var a = document.getElementById("div");
a.innerHTML= s;
}
});
});
});
这问题到现在没有回答的 但是我用其他方法实现了 如果有能实现的人加分
这问题到现在没有回答的 但是我用其他方法实现了 如果有能实现的人加分
这问题到现在没有回答的 但是我用其他方法实现了 如果有能实现的人加分
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号