Re: [PHP] submitting forms with ajax

2007-11-19 Thread samantha_o
Thanks a lot. Really appreciate it. I will try to apply it. quickshiftin wrote: json is just a terse way to create objects anonymously as well as other data structures in javascript. http://json.org/ to build a json response with html essentially all you need to do is create a

Re: [PHP] submitting forms with ajax

2007-11-18 Thread samantha_o
I did not try using json becausse i am very knew in this field and dont know much bout it. Can you give me some examples about it? Thanks for helping. Shiplu wrote: Why dont you use json as server response? Then manipulate it by own javascript. You can use jquery $.getJSON function to do

Re: [PHP] submitting forms with ajax

2007-11-18 Thread Nathan Nobbe
json is just a terse way to create objects anonymously as well as other data structures in javascript. http://json.org/ to build a json response with html essentially all you need to do is create a javascript array in php and put the html you want for the next page in that. then you use the

Re: [PHP] submitting forms with ajax

2007-11-16 Thread Shiplu
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, Shiplu [EMAIL PROTECTED] wrote: Why dont you use json as server response? Then manipulate it by own javascript. You can use jquery

Re: [PHP] submitting forms with ajax

2007-11-16 Thread Shiplu
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 [EMAIL PROTECTED] wrote: Hi, i would like to submit forms with ajax, using jquery and then load the next page. I had

[PHP] submitting forms with ajax

2007-11-16 Thread samantha_o
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.