Rewriting my original question since I was told its a duplicate which I feel it isn't.
I am new to jQuery AJAX. I have a ASP.NET WebForm that I'm trying to now connect to a generic handler. I'm trying to connect to a generic handler but I think I'm getting an error "Accessing the 'arguments' property of a function is not allowed in strict mode" as that's what it says when I hover over the $.ajax wile its in debug mode. The code is as follows. How do I get rid of Strict Mode? This happens in IE, FireFox and Chrome.
<script type="text/javascript">
$(document).ready(function () {
$.ajax({
type: "GET",
url: "/Common/Handlers/Default.ashx",
cache: false,
dataType: "xml",
success: function (xml) {
$(xml).find('entry').each(function () {
$(this).find("yt:videoId").first();
var name = $(this).text();
alert(name);
});
},
error: function () {
alert('Error loading XML document');
}
});
});
</script>