Take the 2-minute tour ×  I have create grid using JavaScript
and I want to save that grid with some dropped image as a image.
here is my link  share|improve this question Can't be done from
a browser. –  Hamish Mar 17 '11 at 7:52 You want to make a
screen capture of the dhtmlgoodies_xpPane div? –  Zakaria Mar 17
'11 at 7:54 @Zakaria yes I want to save a part of page that is
created by jquery. –  Moumita Mar 17 '11 at 8:08 @Moumita +1
Interesting... and this is useful for applications –  bcm Mar 17
'11 at 8:36 @Moumita similar question here:
stackoverflow.com/questions/193221/… –  bcm Mar 17 '11 at 8:39
2 Answers 2  If you can restrict this usage to browsers using
canvas elements, and with firefox extensions -- so firefox in
fact, you can load any part of the DOM in a canvas and extract
image for the canvas. Basically:  canvas =
document.getElementById("#acanvas");  if (canvas.getContext) {
var context = canvas.getContext('2d');     var mypng =
context.toDataURL(); share|improve this answer  You can try