How Can I Get The Response From An Ajax Request?
I tried this code : var xmlHttp = new XMLHttpRequest(); function activecomm(comm_id,a_link_id) { var postComm = 'id='+encodeURIComponent(comm_id); var url = 'comments_mgr_
Solution 1:
You're calling the handleInfo
function instead of assigning a ready state handler. Try
xmlHttp.onreadystatechange = function (){
handleInfo(a_link_id);
};
Post a Comment for "How Can I Get The Response From An Ajax Request?"