Vote count:
0
the result of the post passes back the value success, i can see this if I alert it out. However, If i try to compare the result by it fails the comparison. What am I doing wrong, How can I compare against the results of a successful post
$.post('ajax.cshtml', data)
.success(function (result) {
if (result == "success") {
alert(result);
}
})
asked 46 secs ago
Aucun commentaire:
Enregistrer un commentaire