title: invalid property id error while passing data in json format
body: <p>I have a some data in JSON format(which comes from php) to be passed to a javascript function. I'm getting 'invalid property id' error when I try to  do this.</p>
  
  <pre><code>Error: invalid property id
  Source File: http://localhost/MathVoyager/index.php/test
  Line: 1, Column: 15
  Source Code:
  draw_quadratic({
  </code></pre>
  
  <p>Below is the js function signature(both data and options are in JSON format)</p>
  
  <p>function draw_quadratic(data, options, alpha, beta)</p>
  
  <p>Below is a sample function call.</p>
  
  <pre><code>draw_quadratic({"label":"(((1)*x^((1))+(4))*((1)*x^((1))+(6))) = (0)","data":[[-8,8],[-7.5,5.25],[-7,3],[-6.5,1.25],[-6,0],[-5.5,-0.75],[-5,-1],[-4.5,-0.75],[-4,0],[-3.5,1.25],[-3,3],[-2.5,5.25],[-2,8]],"xaxis":1,"yaxis":1}, {"series":{"points":{"show":true},"lines":{"show":true}},"grid":{"hoverable":true,"clickable":true}}, 4, 8);
  </code></pre>
  
  <p>(I'm trying to plot some graph using flot js library)</p>
  
  <p>Thanks in advance</p>