[jQuery] Re: Odd Ajax problem:

2007-09-26 Thread sgrover
Thanks Pops. I ended up generating the HTML in my PHP code, then just doing a .load(). (yeah, lazy way out, I know, but... :) I'll keep your tip in mind though. I'll be doing a lot of Ajax with this app and will likely see this again soon. Shawn Pops wrote: > Note, in my example url: "json

[jQuery] Re: Odd Ajax problem:

2007-09-25 Thread Pops
Note, in my example url: "json-data.wct" it is my equivalent to your "PHP" for our web server. In this case, json-data-wct, is simply a dump of: MyJSON({"items": [ { id: "111", organization: "open2space", start: new Date("2007-09-24 20:13:00"), end: new Date("2007-09-24 16:13:00"),

[jQuery] Re: Odd Ajax problem:

2007-09-25 Thread Pops
I did the following to make it work: I wrapped the data as such: MyJSON({ items: [ your items here ] }); then I created a function: Function MyJSON(data) { var json = data.items; var tbl = ""; tbl += ""; tbl += "Id"; tbl += "Client"; tbl += "Project"; tbl += "Start"; tbl += "E