$(document).ready(function () {
$("#btnSubmit").click(function (e) {
debugger;
$.ajax({
async: false,
type: 'POST',
url: "@Url.Content("~/Customer/Create")",
contentType: "application/json; charset=utf-8",
dataType: "json",
data: $('form').serializeArray()
}).success(function (status) {
if(response.Type==1) {
alert("hai");
}
});
e.preventDefault();
});
});
the above code is give "Microsoft JScript runtime error: Object doesn't support this property or method"
error. please any one help me, it is urgent
and Give me good site srl or ebook url to learn jquery from basic. i want to work with asp.net mvc3 with jquery.