Re: submitting forms with ajax
| From: | Shiplu | Date: | Fri, 16 Nov 2007 09:28:56 +0000 |
| Subject: | Re: submitting forms with ajax | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264672@lists.php.net to get a copy of this message | ||
Why dont you use json as server response? Then manipulate it by own
javascript. You can use jquery $.getJSON function to do the ajax part
for you.
On 11/16/07, samantha_o <ooi_lching@yahoo.com.sg> wrote:
>
> Hi,
>
> i would like to submit forms with ajax, using jquery and then load the next
> page. I had successfully do it with jquery and form plugin. however, it does
> not work whenever the server response consist of both HTMLs and javascript
> together. Is it possible to make it works? I am new in all this. Can anyone
> help me?
> --
> View this message in context:
>
> http://www.nabble.com/submitting-forms-with-ajax-tf4819530.html#a13788322
> Sent from the PHP - General mailing list archive at Nabble.com.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>