title: Classic ASP + Ajax
body: <p>What's wrong with this code?</p>
  
  <pre><code>$.ajax({
           //url: 'http://ip.jsontest.com/',
          // url: 'http://ipinfo.io/json',
          //url: 'http://ip-api.com/json',
          url: 'http://www.onecert.com.br/json.asp',
          success: function(data) {       
          alert("OK");    
          },
          error: function(dataerror) {
          alert("NO");
          }
      });
  </code></pre>
  
  <p>I create a CLASSIC ASP that create a JSON (verified on online testers).
  If I tried any other URL on AJAX its works.. but with this CLASSIC ASP doesn't.</p>
  
  <p>Classic ASP is created with JSON_2.0.2.asp.</p>
  
  <pre><code>&lt;!--#Include File="JSON_2.0.2.asp"--&gt;
  
  &lt;%
  Response.ContentType = "application/json"
  
  Dim member
  Set member = jsObject()
  
  member("name") = "Daniel"
  member("surname") = "Smith"
  member("message") = "Hello"
  
  member.Flush
  %&gt;
  </code></pre>
  
  <p>Why? (I'm a beginner)</p>
  
  <p>I tried with Response.ContentType and without. Same Result.</p>
  
  <p>Thanks for all repplies</p>
  
  <p><a href="http://jsfiddle.net/gwfcr5z8/" rel="nofollow">http://jsfiddle.net/gwfcr5z8/</a></p>