Ajax submit multivalues
<p>why is my ajax function not submitting both values with the get method</p>

<pre><code>&lt;script language="javascript" type="text/javascript"&gt;
&lt;!-- 
//Browser Support Code
function ajaxFunction( ){
    var ajaxRequest;  // The variable that makes Ajax possible!

    try{
        // Opera 8.0+, Firefox, Safari
        ajaxRequest = new XMLHttpRequest();
    } catch (e){
        // Internet Explorer Browsers
        try{
            ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
        } catch (e) {
            try{
                ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
            } catch (e){
                // Something went wrong
                alert("Your browser broke!");
                return false;
            }
        }
    }
    // Create a function that will receive data sent from the server
    ajaxRequest.onreadystatechange = function(){
        if(ajaxRequest.readyState == 4){
            document.getElementById("emailconfirm").innerHTML= ajaxRequest.responseText;
        }
    }

    ajaxRequest.open("GET", "Atest.php?&lt;?php echo $PDFPassingArray ?&gt;?Email="+ document.getElementById("email").value, true);
    ajaxRequest.send(null); 
}
</code></pre>

<p>I want the function to submit the array $pdfpassingArray, which is an html_build_query  and the Email elemment id from the form. currently I can only reviece the $pdfPassingarray values,  but not the Email values. so my question, did I do this part right</p>

<pre><code>ajaxRequest.open("GET", "Atest.php?&lt;?php echo $PDFPassingArray ?&gt;?Email="+ document.getElementById("email").value, true);
</code></pre>

<p>my form</p>

<pre><code>       &lt;form name='myForm'&gt;

    &lt;input name="email"   id="email"type="text" /&gt;
    &lt;input name="button" onclick="ajaxFunction()" type="button" /&gt;
&lt;/form&gt;
</code></pre>
