Javascript Create Div Dynamically
<script>
    var _div = document.createElement("div");
    _div.setAttribute("id","mydiv");
    document.body.appendChild(_div);
</script>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License