I have checkbox on the page. I am wrapping that checkbox in a div and insert label after checkbox using javascript. Now I want to add all these elements on the body but it does not work. here is my code. I use
document.body.innerHTML = wrapper;
in order to add those elements to body but it does not work. How can I make it work?