title: Ajax call not working in IE8
body: <p>I was reading several posts about this, and make some changes to my code but no luck.</p>
  
  <p>Can anyone look into this, to see what's going on here? Or perhaps another way to do what I need (retrieve city, state by a zip code using ziptastic)</p>
  
  <p>The code works fine in Chrome (<code>http://jsfiddle.net/7VtHc/117/</code>)</p>
  
  <p><strong>html</strong></p>
  
  <pre><code>&lt;asp:TextBox ID="txtZipCode" runat="server"&gt;&lt;/asp:TextBox&gt;        
  &lt;asp:TextBox ID="txtCity" runat="server"&gt;&lt;/asp:TextBox&gt; 
  &lt;asp:TextBox ID="txtState" runat="server"&gt;&lt;/asp:TextBox&gt; 
  </code></pre>
  
  <p><strong>script</strong></p>
  
  <pre><code>&lt;script src="http://code.jquery.com/jquery-1.10.2.js" type="text/javascript"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
      $(function () {
          $("input[id$='txtZipCode']").keyup(function () {
              var el = $(this);
  
              if (el.val().length === 5) {
                  $.ajax({
                      url: "http://zip.getziptastic.com/v2/US/" + el.val(),
                      cache: false,
                      dataType: "json",
                      type: "GET",
                      success: function (result, success) {
                          $("input[id$='txtCity']").val(result.city);
                          $("input[id$='txtState']").val(result.state);
                      }
                  });
              }
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Thanks,</p>