Hmm...I replied to you but it didn't post my reply...just a blank response.
Anyway, I'm using CakePHP. When a form is submitted it is validated and all of the fields that invalidate are stored into an associative array containing the invalid field and its corresponding error message. Normally, the page reloads displaying the error messages (when not using ajax). However, I'm using the jquery form plugin to submit the form using ajax. So, I need to be able to update the html with those error messages using ajax as well. On Nov 30, 5:21 am, Wizzud <[EMAIL PROTECTED]> wrote: > On Nov 30, 5:55 am, Action <[EMAIL PROTECTED]> wrote: > > > On Nov 29, 8:02 pm, Wizzud <[EMAIL PROTECTED]> wrote: > > > > For example ... ? > > Sorry, maybe that was a bit too cryptic. > > Can you provide an example of your PHP data? > Can you provide examples of the before/after affected HTML? > Can you provide _any_ further information? > > As you can probably tell from the other responses received so far, > your question is too general for anyone to be able to provide more > than a vague guess at what you _could_ do. There are all sorts of > different ways of going about this sort of thing, most of which could > probably be ruled out as not applicable to your particular > situation ... *if* we knew more about it! > > > > > > On Nov 29, 9:34 pm, Action <[EMAIL PROTECTED]> wrote: > > > > > I have a PHP array of data I want to be able to append to the html > > > > using jquery and ajax. I want to be able to add different elements of > > > > the array to different parts of the page. > > > > > How can I go about doing this?