You probably should use something like this instead:
w.document.write('<img src="' + document.getElementById('img').src + '"
/>');
On Friday, January 25, 2013 2:47:58 AM UTC-5, Chrystopher Medina wrote:
>
> my friend so here i can put some image or something like thar tell me i
> can do this.
>
> <img src="imagen.png" style=display:none id=img>
>
>
> var w = window.open();
> w.document.write('<style>div {float:left;}</style>');
>
> w.document.write(document.getElementById('img').innerHTML); /// i
> can do this . or i can put here the path of my image
> 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.