OK. You might find it interesting to see how qa_ajax_post(...) in qa-content/qa-page.js and qa-ajax.php work together to solve this problem by passing the qa_root and qa_request JS variables to the Ajax server-side script. The problem with using absolute URLs is you need the user to have set their site URL correctly.