Hi, Did you get it to work? Or do you still need help?
- VizBoy. On Wed, May 13, 2009 at 12:50 PM, viz-adict <[email protected]>wrote: > > Hi! > I' m trying to eliminate two carriage returns in my PHP code > but (I'don't know why) they are generated after a require_once > statement > (no, the required-once file has no echos!) > > :-? > > > is it there a way to postprocess the response in Javascript???? > something like trim(response.what?, " \n"); > > > var query = new google.visualization.Query('query.php') ; > query.send(handleQueryResponse); > var g = new > google.visualization.Table(document.getElementById > ('visualization')); > var data ; > > function handleQueryResponse(response) { > if (response.isError()) { > alert('Error in query: ' + > response.getMessage() + ' ' + > response.getDetailedMessage()); > return; > } > data = response.getDataTable(); > g.draw(data, > {allowHtml:true,pageSize:15,page:'enable'}); > } > > > > On May 12, 5:35 pm, Unruly-Dev <[email protected]> wrote: > > We also got the parenthesis issue at the same time, our problem was > > also fixed by removing a carriage return prior to the setResponse > > line. > > It had previously been working fine. > > > > On May 11, 8:01 pm, VizGuy <[email protected]> wrote: > > > > > So this parenthesis issue is not yet clear to us, but I am glad it > > > stopped...I am not sure its related to our change, but we are still > > > investigating. > > > > > If you have more info, please update. > > > > > Thanks, > > > VizGuy > > > > > On Mon, May 11, 2009 at 8:27 PM, Trymbill <[email protected]> wrote: > > > > > > Update: It's working now. Doesn't return a javascript error as of > > > > from now. Hope that will hold :) > > > > > > On May 11, 1:24 pm, Trymbill <[email protected]> wrote: > > > > > I've got the same problem. Today my code doesn't work, here is the > > > > > javascript error firebug outputs: > > > > > > > missing ) in parenthetical on line 262 of the .js file [ > > > > > http://www.google.com/uds/api/visualization/1.0/28bfe89c82011ce9762b7... > > > > > ] > > > > > > > We haven't changed anything in our code the last couple of days and > > > > > this happened all of a sudden so I guess it's related to this > thread. > > > > > > > Hope to hear a response soon! > > > > > > > Sincerely, > > > > > Magnus > > > > > > > On May 11, 7:54 am, viz-adict <[email protected]> wrote: > > > > > > > > Help! > > > > > > > > My application doesn't work today!!! > > > > > > > > Firebug launches errors on line 232, 263 of > > > > > > > > > http://www.google.com/uds/api/visualization/1.0/28bfe89c82011ce9762b7. > > > > .. > > > > > > > > any idea???? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
