Results 1 to 3 of 3
Jul 1, 2011, 10:10 #1
- Join Date
- Jul 2011
- 0 Post(s)
- 0 Thread(s)
Custom JSON string from form data
I've been struggling with this concept for several days now and thought i'd give this a shot for some advice.
I'm using FusionCharts to plot some data based on a series of radio and checkbox selections. I want to re-render my chart each time a radio button changes. I know how to do that part. I'm getting stumped with building my JSON string to use in the chart.
Fusioncharts expects a variable containing a JSON object. It's expecting a certain format though (key, value pairs). I know there are jQuery plugins that will get the values from a form and create a JSON object but like i said, there are arrays in this data and i dont think that parseJSON or JSONify does what i need.
I'm hoping to get some advice on how i might approach this.