figured it out - basic js escape method. onClick="window.open(\'http://www.pageresource.com/jscript/ jex5.htm,mywindow\',\'width=400\',\'height=200\')"
On Aug 16, 1:29 pm, c2billp <[email protected]> wrote: > I'm trying to add an onClick event into a specific cell trusting > allowHTML: > > data.setCell(3,4,'<A onClick="window.open(http:// > XXXXXX,mywindow,width=400,height=200)" HREF="#">XXXX</A>'); > > I can not seem to sort out how to escape the ' chars or otherwise get > this to fire. > > suggestions? > > -bp -- 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.
