KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to show a loading image while my ajax call is running, however using the beforeSend attribute is not changing my result area. $.ajax({ url: "/answer_checker.php", global: false, type: "POST", data: ({...clipped...}), cache: false, beforeSend: function() { $('#response').text('Loading...'); }, success: function(html) { $('#response').html(html); } } Thanks in advance.
Tags (comma-separated)
Save Edits
Cancel