I need to save content of div using pure javascript. I just edited one fiddle but I can\'t make it works :(
jsfiddle
I agree with RGraham. However, if you use jQuery you can do it like this.
jQuery
Hello world Hi everybody Download