How to get the particular values in php form using get method
<pre><code>&lt;i&gt;function myFunction() {
    var name=document.myform.name.value;
    var color=document.myform.color.value;
    var made=document.myform.made.value;

   // alert('example.com/search.php?name='+name+'&amp;color='+color+'&amp;made='+made);
alert('http://www.example.com/search.php?name='+name+'&amp;color='+color);
    //echo "window.location='http://www.example.com/search.php?name='";

}&lt;/i&gt;
</code></pre>

<p>I just want to get <code>name</code> and <code>color</code> field value to be inserted into my url ...
How can I do that?  Please help me.</p>

<p>Thanks.</p>
