Jquery ajax post request not working
Jquery ajax post request not working Question: I have a simple form submission with ajax, but it keeps giving me an error. All the error says is “error”. No code, no description. No nothing, when I alert it when it fails. Javascript with jQuery: $(document).ready(function(){ $(“.post-input”).submit(function(){ var postcontent = $(“.post-form”).val(); if (postcontent == “”){ return …