<script type="text/javascript">
function xz(){
$.ajax({
cache: true,
type: "POST",
url:"/index.php/Article/index",
data:'lcc='+$("#lc").val(),
async: false,
error: function(request) {
alert("Connection error");
},
success: function(data) {
}
}
</script>
============================
<if condition="$list['xzflag'] ==0"><a href="<{:U('Xsxz/index?flag='.$list['xs_xh'].'')}>" onclick="xz()"><b >选择</b>
===========================
php:
$lc=$_REQUEST['lcc']
dump($lc);
=================
值为空,求解。。。。。。。。。
------解决方案--------------------
success: function(data) {
alert(data);
}
友情提示:垃圾评论一律封号 加我微信:826096331拉你进VIP群学习群