AJAX Problem


i am using ajax and am having problems accessing the responseText variable. The request goes through fine and the response is returned. as a test I output various information about the request. response headers, status messgae , status code, ready state. but as soon as i try to access the responseText variable i get a javascript error. The error is...

System error: -1072896658

tried looking it up but cant find any info on it. The page i am trying to access is in the same domain and i've tried it on lots of pages on my server. they all give the same system error.

anyone know why???

Who is Participating?
PAQed with points refunded (50)

Community Support Moderator
FatlogAuthor Commented:

found the problem. this page describes the problem...


its all to do with the encodingof the page. i'm using PHP and the following fixed the problem...

header("Content-type: text/css; charset=UTF-8");

Michel PlungjanIT ExpertCommented:
You can post a question in community services and ask them to PAQ and refund
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.