Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
i get wrong Url, i don't know why.
here is my ajax call :
var data = { Name: $.trim($("#txtName").val()), Email: $.trim($("#txtEmail").val()), Messages: $.trim($("#txtMessage").val()) }; $.ajax({ url: '@Url.Action("SubmitFormCareer", "ContactSurface")', @*url: '/umbraco/surface/ContactSurface/SubmitFormCareer',*@ type: "POST", dataType: 'json', contentType: 'application/json; charset=utf-8', data: data, success: function (data) { alert("Inquiry has been submitted"); }, error: function (err) { alert("somethingwentwrong"); } });
Hi Naufil
What do you mean wrong URL? What is wrong with this URL?
Alex
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Getting wrong url in ajax call
i get wrong Url, i don't know why.
here is my ajax call :
Hi Naufil
What do you mean wrong URL? What is wrong with this URL?
Alex
is working on a reply...