Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function processJSON(data) {
- // 'data' is the json object returned from the server
- if (data.success) {
- alert('Your request was submitted, thank you');
- } else {
- alert('There was a problem');
- }
- }
Add Comment
Please, Sign In to add comment