How To Make A Code Box
How To Make A Code Box
Access your blog Posts > click Edit on any of your posts or add a new post. then switch to HTML area of the post editor and add the below coding anywhere you want to make the code box appear.
Code:
function generate() {
var a = $('#container').html();
var b = window.open('', '', 'width=600,height=400');
b.document.write('<textarea>' + a + '</textarea>');
}


No comments