title: can i store a value returned by apex method in a javascript variable?
body: <p>Is it possible to store a value returned by a controller method into a javascript variable?</p>
  
  <p>i need to pass a date and sales qty from salesforce into flot library javascript to build a graph. So what i am doing is formatting a string in apex with the date and salesqty as required by flot library and returning it  in the method.</p>
  
  <p>Can i say in my javascript</p>
  
  <pre><code>var d={!getformatteddata};
  </code></pre>
  
  <p>Thanks</p>
  
  <p>Prady</p>