For the archives, I was actually able to get what I want.  I didn't
have valid key/value pairs in JSON, was just passing around an array.

I was able to change the append line to this:

$("#names").append("ID: " + this.id + " Name: " + this.name + "
Passwd: " + this.password + " Url: " + this.email_address + "<br>" );

Hope this helps someone,
Kevin

On 11/15/06, Kevin Old <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I'm parsing some json successfully below, but I'd like to be able
> access the contents of the json object like "this.["id"]" or
> "this.["name"]".
>
> function processData(json) {
>                 $.each(json, function(i) {
>                         $("#names").append("ID: " + this[0] + " Name:
> " + this[1] + " Passwd: " + this[2] + " Url: " + this[3] + "<br>" );
>                         }
>                 );
>         }
>
> Just wondering if anyone knows how to do it that way.
>
> Thanks,
> Kevin
>
> Kevin Old
> [EMAIL PROTECTED]
>


-- 
Kevin Old
[EMAIL PROTECTED]

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to