Passing multiple GET variables in load()?
<p>I have a HTML Form that is not wrapped in a 'form' tag. There are only inputs which are then passed through GET with JQuery's load() method. </p>

<p>This is how it's coded it works.</p>

<pre><code>$("#loader").load("mail.php", {
            name: $("input[name=name]").val(),
            email: $("input[name=email]").val(),
            phone: $("input[name=phone]").val(),
            city: $("input[name=city]").val(),
            subject: $("input[name=subject]").val(),
            message: $("textarea[name=message]").val()
        });
</code></pre>

<p>Question: Is there a way to pass all inputs to the load() method without having to write each one of them?</p>

<p>Something like this:</p>

<pre><code>$("#loader").load("mail.php", allinputs);
</code></pre>
