Click here to Skip to main content
15,892,161 members

My following jquery function always execute Error block of alert but js.i-parcel.com is available

Revision 1
XML
why My following jquery function always execute Error block of alert but  js.i-parcel.com is available..

------------------------

<script type="text/javascript">
  $(document).ready(function() {
  });
  function checkIparcel() {
    $.ajax({
      type: 'GET',
      url: 'https://js.i-parcel.com',
      timeout: 15000,
      success: function(data) { alert('Connected to i-parcel.'); },
      error: function(XMLHttpRequest, textStatus, errorThrown)
      { alert('Error:\r\n' + textStatus); }
    });
  }
</script>

https://js.i-parcel.com site is available , Still control goes into error block please help..
Posted 29-Jan-13 0:18am by k@ran.
Tags: ,