i've biiiiiig problem .. i was learning ajax and i know big side of it ..
my problem is .. that when someone comment the comment would be unable to read till he refresh the page that's mean .. i do nothing with ajax .. he need to refresh again ..
i'm using arabic langauge .. and windows-1256 encode(charset) for all pages .. including the . js page ..
is there any solution ?
i think that :
Code: Select all
document.getElementById("result").innerHTML = xmlHttp.responseText;taking ������ xmlHttp.responseText as utf-8 !
so how could i make that object with id "result" get the value with windows-1256 ?