我有下面的html,警告只在Mozilla Firefox中有效,当我点击按钮时。为什么?jquery ajax请求只适用于firefox
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("button").click(function(){
$.ajax({url:"https://graph.facebook.com/1524623057/",
success:function(){
alert(1);
}});
});});
</script>
</head>
<body>
<button>send request</button>
</body>
</html>
[jquery的ajax不能在facebook应用中工作]的可能副本(http://stackoverflow.com/questions/1186855/jquerys-ajax-not-working-in-facebook-apps) – Jasper