title: How to check if the error is #403 in jQuery?
body: <p>I'm printing growl message if the user doesn't have access to use this function. </p>
  
  <p>But now my code prints it anytime (despite the file is too big or the user doesn't have an access)</p>
  
  <p>What I wanna do is to check if the error code is <code>#403</code> and if so, just then print that <code>growlMessage</code>. Could someone explain me how to do so?</p>
  
  <p>Here's my jQuery function:</p>
  
  <pre><code>function fileInputError(event, data, msg) {
    setTimeout(function() {
       var nav = $('#nav-users');
       var progressBar = nav.find('.progress-bar');
       progressBar.removeClass('bg-success progress-bar-success')
          .addClass('bg-danger progress-bar-danger');
      progressBar.text('Error');  
    }, 110);
  
    growlMessage('You don't have permission to use this function.');
  }
  </code></pre>