title: How to check if an AJAX response has HTML contents in jQuery?
body: <p>I have a page with one form and two possible responses in the event of a successful AJAX call, one of which only returns a status code.</p>
  
  <p>What I need to do is check the <code>response</code> object in my success callback for any HTML contents so that I can display them on my page.</p>
  
  <p>I already know that I can access <code>response</code> in my callback by adding it as a parameter, like so:</p>
  
  <p><code>function success(response) {  }</code></p>
  
  <p>The only thing I can't figure out is how to check if that object has any HTML contents. How can I do this?</p>