my friend this is ok..
if i do this...
function print(){
var boton = document.getElementById=('buttonforprint');
boton.addEventListener('click',print2,false);
}
function print2(){
var w = window.open();
w.document.write('<style>div {float:left;}</style>');
w.document.write(document.getElementById('chart_div1').innerHTML);
w.document.write(document.getElementById('chart_div2').innerHTML);
w.print();
w.close();
}
--
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].
Visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.