You escape quotes in javascript with the backslash:
,{v:'<A onclick="window.open(\'popup.html\', \'windowname1\',
\'width=200, height=77\'); return false;" target=#>click here</A>'}
You might be better served using the selection event handler to do what you
want though. After drawing your table (assuming you named your viz table
object "myTable"), call this:
google.visualization.events.addListener(myTable, 'select', function () {
window.open("popup.html", "windowname1", "width=200, height=77");
});
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/jFuj4JYbvPoJ.
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.