htaccess in ajax fetching values
<p>i m calling ajax function with htaccess url rewriting.But i m not able to fetch value from server.My code is following..</p>

<pre><code>function lookup(val1,val2) {

        //some code here ////

       if (xmlhttp.readyState==4){
              alert(xmlhttp.responseText); // but i m not getting values
       } 

var str=inputString+'/'+cityid;
xmlhttp.open("GET","http://www.mydomain.in/f/fetchname/"+str,true);
xmlhttp.send();
}
</code></pre>

<p>//// htaccess code //</p>

<pre><code>RewriteRule ^f/fetchname/(.*)/(.*)$ fetchname.php?fetchkey=$1&amp;cityidval=$2 [NC]
</code></pre>

<p>When i m executing directly from url this is printing value.So there is no error in php page.</p>

<p>Is there any different way to fetch value in htaccess in ajax ?</p>
