I trying to get webpage's html by using ajax function like below.
But it always alert 'error'.
I can't understand why it occur.
I also checked http protocol status using firebug in firefox.
It show me a 200 value.
Plz let me know how to debug it.
$.ajax({
url: "http://news.naver.com/main/home.nhn",
success: function() { alert('success'); },
error: function(jqXHR, textStatus, errorThrown) { alert(textStatus); }
});