The formSerialize function from the form plugin does exactly what you're
asking for:
http://www.malsup.com/jquery/form/#api


The form plugin also has a variety of functions for submitting forms via
ajax.

Hope it helps.

--Erik


On 4/23/08, neualex <[EMAIL PROTECTED]> wrote:
>
>
> Guys, I am new with jQuery, and I was trying to do something very
> simple for you at least.
>
> I am using jQuery against classic ASP pages and I need to send a form
> to a ASP page and come back with XML results.
>
> So, question: Is there an easy way to just identify the FORM and send
> all the element values by default without actually building up the
> "value string" in the $.post method.
>
> $.post("process.asp", { name: "neualex", pass: "password" },
>    function(data){ alert(data);
> });
>
> I review the documentation, but to be honest I find it difficult. If
> you have samples on the scenario above in PHP or better yet ASP,
> please send them to me.
>
> I'd appreciate your support.
>
> Thanks,
>
> neualex
>

Reply via email to