У меня есть следующий html, alert работает только в 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