Currently, I am experimenting with onkeydown events to capture the input value in a textarea, process it through a PHP file using Ajax post method, and display the result in an external div. However, the issue is that whenever a key is pressed, I am unable to continue typing until Ajax completes its task. Is there a way to allow uninterrupted typing even if the text has not been processed yet?
---UPDATE---
function fromWCtoHTML(source){
var act = new Date();
http[act] = createRequestObject();
http[act].open('post', '/php/fromWCtoHTML.php',false);
http[act].setRequestHeader('Content-Type','application/x-www-form-urlencoded',false);
http[act].send("source=" + source);
document.getElementById('AJAXWCtoHTML').innerHTML=http[act].responseText;
}