Archive for March 2nd, 2009

JavaScript, how to copy DIV’s or SPAN’s content to clipboard


In one of my previous posts, I had a DIV that contains some codes, and I wanted to have this code to be able to be copied by someone onto a clipboard for better viewing. So, what I had was only a very simple javascript function for doing it. And note, it works on Internet Explorer only.

Continue reading ‘JavaScript, how to copy DIV’s or SPAN’s content to clipboard’