<script>
$(function(){
$(".getMore").click(function(){
var cid = $(this).attr("cid");
// var doPost = "GetSunLists";
$.ajax({
type:"post",
url:"http://localhost/kq/index.php/Home/Curl/curlEdit",
data:{"cid":cid},
async: false,
dataType:"json",
success:function(data){
alert(data);
}
});
});
})
</script>
ajax返回值一直是null???
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-