Thank Mike,
That was a help. Thought I was going crazy there for a while. The
problem with working with ajax in a new language is that you never
know what part of the transaction is problematic.

I have set up an example with ajaxForm and have it working fine with
json. However, is there something specifically on the server side
(php) I should do if I am wanting to pass html back?  I can't just use
a bunch of echo lines can I? I don't get anything back when I do
that.  I have to build a response into a variable and send that
(careful not to have any " in there) back as jason.

I can't seem to reproduce the server php code needed to reply back to
the sample at : http://malsup.com/jquery/form/#code-samples


On Sep 16, 11:53 am, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > Hi. Pretty new to jquery, but have gotten some ajax working - my
> > question is, is it normal that the serialize does not send the value
> > of the submit button itself? If so, why is that?
>
> Yes, that is normal because the serialize method has no way of knowing
> which submit element was clicked.  If you need that functionality you
> can check out the Form Plugin, specifically, its ajaxForm method.
>
> http://www.malsup.com/jquery/form/
>
> Mike

Reply via email to