Just a little more to add to the pot.. If you return a string, inside
an XML packet, or otherwise, that looks like this:

[{foo:"woo"},{foo:"bah"}]

and then run eval() on it in JavaScript, you will get an array
(length=2), where each element is a struct (object) with a key of
"foo".

This may also help, where I am literally using CFJSON.

http://www.acheron.org/darryl/2006/01/01/ajax-diary-using-json-instead-of-xml/

Darryl

On 15/06/06, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
> Well the most simple things are always the hardest:-)
>
> All I am doing is returning an array or a query to repopulate or add to the
> rows of a table, seems simple enough, not. I can do XML at the moment as the
> DEVNet license places a meta tag header on every request an spoils this for
> me, so I thought I would try to do this in a query with some little luck
> there, but not with arrays at all.
>
>
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to