jquery ajax传值问题
<script><br />function xz(){<br /> <br /> $.ajax({<br /> <br /> cache: true,<br /> type: "POST",<br /> url:"__URL__/index",<br /> data:'lcc='+$("#lc").val(),<br /> async: false,<br /> error: function(request) {<br /> alert("Connection error");<br /> },<br /> success: function(data) {<br /><br /> }<br />}<br /><br /></script>
============================
===========================
php:
$lc=$_REQUEST['lcc']
dump($lc);
=================
值为空,求解。。。。。。。。。
------解决方案--------------------
success: function(data) {
alert(data);
}