String in javascript function argument returns "Unexpected end of input" – Jquery ajax
I have ajax request function function Reject(id, scomment) { jQuery.ajax({ type: "POST", url: "reject.php", data: {id: id, Scomment: scomment}, cache: false, success: function(response) { location.reload(); } }); } There is html from my php loop <div class="modal-footer"> <textarea id="Scomment" name="Scomment"…