Re: [PHP] submitting forms with ajax

2007-11-19 Thread samantha_o
on').innerHtml = newHtml[0]; > > thats about it. there are plenty of places to make mistakes though :) > and there alternatives to the methods ive suggested, of course. > > take a look a firebug (firefox plugin) and jslint (javascript syntax > checker) > theyre great ja

Re: [PHP] submitting forms with ajax

2007-11-18 Thread samantha_o
ion 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 $.getJSON function to do the ajax part >> for you. >> >

[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.