check_err.js 104 B

1234
  1. function checkError(json) {
  2. if(json.status === 'error')
  3. alert('Error: ' + json.description)
  4. }