这是一个有效的URL参数jquery.ajax(),这是jquery.ajax()中的有效url参数吗?
<script type="text/javascript">
$(document).ready(function() {
getRecordspage();
});
function getRecordspage() {
$.ajax({
type: "POST",
url: "http://localhost/codeigniter_cup_myth/index.php/adminController/mainAccount",
data: "",
contentType: "application/json; charset=utf-8",
global:false,
async: false,
dataType: "json",
success: function(jsonObj) {
alert(jsonobj);
}
});
}
</script>
的网址似乎没有去我的控制器功能...
@Alex没有发生任何事情时,通过萤火虫后检查标签检查为空... – udaya 2010-04-06 09:12:06