<script type="text/javascript">
function xz(){
$.ajax({
cache: true,
type: "POST",
url:"__URL__/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);
}