Can i store document.getElementById('id').value in a variable in php like this
<pre><code>&lt;?php $id= "document.getElementById('id').value" ;

$id= "document.getElementById('id').value";
?&gt;
</code></pre>

<p>Actually i want to do</p>

<pre><code>document.form.action='".HTTP_PATH."search_list.php/".$id."/".$city."';
</code></pre>
