My html form
<form id="updateIssue">
...
<button type="submit">Update</button>
</form>
My AJAX call:
$('#updateIssue').submit(function (e) {
e.preventDefault();
$.ajax({
url: url,
data: $('#updateIssue').serialize(),
type: "PUT",
success: function(data) {
console.log(data);
$('#show-result').text(JSON.stringify(data));
window.location.reload(true);
}
});
});

My form won’t submit and the only feedback I have is in chrome where it highlights the $ajax line.
I just can’t seem to get PUT to work.