Yeah there's an easy way -- use the Form plugin by Mike Alsup:

http://malsup.com/jquery/form/

-- Josh


----- Original Message ----- From: "neualex" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Wednesday, April 23, 2008 2:17 PM
Subject: [jQuery] Which jQuery method to use in this scenario



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