Jump to content
Larry Ullman's Book Forums

Jim Proctor

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Jim Proctor

  1. 2 error messages: XMLHttpRequest cannot open file file///C:/ users/.../resources/test.txt. Cross origin requests are only supported  for    HTTP.    And the second is 'Uncaught error: NETWORK_ERR: XMLHttpRequest Exception 101.  I also had an issue with the status code and after researching online found I had to add another statement allow status = 0 to pass.  That was how I got the code to work on firefox.

  2. Hello all.  I the 'test.js' examples to run smoothly on Firefox, however it doesn't work on IE9 or chrome.  I tried it with both my code and the downloaded code.  The code produces no error but the data is not retrieved.  Problem seemd to be at 'ajax.onreadystatechange = function() {...'.  I placed an alert both before and after and the one before is the only one that pops up.  Any ideas what I am doing wrong or what the problem is?  Thank you in advance!

×
×
  • Create New...