Mike, thanks for your response.

When using this $.post method, the function is called once the data
comes back from the server page.
How can I show a loading icon while the function waits for the data to
be sent back?

I'd appreciate your support.

Thanks,
neualex

On Apr 23, 10:17 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> You can do this easily w/o the form plugin also (with jQuery 1.2.2 and later):
>
> $.post("process.asp",  $('#myForm').serialize(), function(data) {
>      alert(data);
>
> });
>
> or
>
> $.ajax({
>     url:    'process.asp',
>     type:   'POST',
>     data:    $('#myForm').serialize(),
>     success: function(data) {alert(data); }
>
> });
>
> Mike
>
> On Wed, Apr 23, 2008 at 7:34 PM, Josh Nathanson <[EMAIL PROTECTED]> wrote:
>
> >  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