How to set target folder in JavaScript
<p>How can I set the root folder in JavaScript when using Ajax?</p>

<p>This is my code?</p>

<pre><code>var url="../../ajax_permission_data.php"

url=url+"?opp="+operation+"&amp;userid="+userId;

url=url+"&amp;sid="+Math.random()
</code></pre>

<p>But I am getting error file not found. If I am putting  this file in same folder then it will work. But I don't want to all the files in same folder. So please help me how to set the path.</p>
