Re: [jQuery] How to get the responsetext with $.ajax

2009-12-09 Thread ftw
Thank you for help i fix it =^D, in fact it was a problem in my some.php :wistle:, now whene i display the msg variable it gives me my answer. thanks ftw wrote: > > hi, > I'am using jquery to get a response from a php page, here it is : > > > function verif(thediv) > { > v

Re: [jQuery] How to get the responsetext with $.ajax

2009-12-09 Thread ftw
ftw wrote: > > is "yes" or "no" what you are returning from "some.php"? if that's > the case, variable "msg" is what contains that > ok, i used what you said (msg varaiable) like this : function verif(thediv) { var xhr = $.ajax({ type: "POST"