[jQuery] Re: Converting JSON to html output

2009-04-14 Thread Nando
I see I'm really still a complete klutz at javascript. Thanks very much Stephan! I will give that a try. On Apr 14, 5:56 pm, MorningZ wrote: > Well, just putting the JSON into a JSON viewer (this one is > excellent:http://www.codeplex.com/JsonViewer) you pasted into your last post > > you have

[jQuery] Re: Converting JSON to html output

2009-04-14 Thread MorningZ
Well, just putting the JSON into a JSON viewer (this one is excellent: http://www.codeplex.com/JsonViewer) you pasted into your last post you have no property of ".ROWCOUNT", so that's a bad start.. this is a quick mock up that works http://paste.pocoo.org/show/112508/ (sorry about the if's...

[jQuery] Re: Converting JSON to html output

2009-04-14 Thread Andy Matthews
ColdFusion JSON represent! -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Nando Sent: Tuesday, April 14, 2009 9:51 AM To: jQuery (English) Subject: [jQuery] Re: Converting JSON to html output Sure. Here's the JSON string

[jQuery] Re: Converting JSON to html output

2009-04-14 Thread Nando
Sure. Here's the JSON string being returned by the server. The only thing that will need some fiddling is that the year is being returned as a float. Not sure how to get that displayed as just an integer in JS. {"COLUMNS": ["REFERENCEID","AUTHOR","DETAIL","REFYEAR","REFTYPE"],"DATA":[[1,"Chen & C

[jQuery] Re: Converting JSON to html output

2009-04-14 Thread MorningZ
Can you give an example of the JSON to help? On Apr 14, 9:24 am, Nando wrote: > Hi, > > I'm a jQuery and Javascript noob, and can't seem to get this to work. > The JSON output looks right to me via console.log(result), but the > select box isn't being populated. The select box needs to be popul