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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.