jQuery POST to PHP doesn't get to success function
<p>I have a simple jQuery post function that calls PHP script in order to return value from the database.</p>

<p>In Firebug I see that the PHP file is being called with 200 OK status, however the success function in JS is not being called.</p>

<p>To test the problem I have changed the PHP to only echo a simple string, but it doesn't work as well.</p>

<p>When I view the PHP file directly in the browser I do see the echoed string.</p>

<p>Here is the JS code:</p>

<pre><code>$.post(PATH + "load.php", { id: _id },
    function (data) {
        console.log("LOADED " + data);
});
</code></pre>

<p>And here is the simple PHP code:</p>

<pre><code>&lt;?
echo "bla bla bla"
?&gt;
</code></pre>

<p>I don't know what the problem is.
My HTML+JS file is local and it calls an online PHP file. Maybe this is the reason?
Any help will be appreciated.</p>
