Following is my xmlfile
applica.luminoustec.net/file.xml
I need to access with this ajax call from my local host, all about is cross domain call
My AJAX CODE
<script type="text/javascript">
$(document).ready(function () {
$.ajax({
url: "http://applica.luminoustec.net/file.xml",
dataType: "jsonp",
success: function (data) {
console.log(data);
}
});
});
</script>
following is the error
Uncaught SyntaxError: Unexpected token <
can anyone tell where i am at fault
i see this link
and this link
but not succeded please help me out
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…