script $(document).ready(function() { var id = 1; $("#aBAddClnBtn").click(function() { var newdiv = "<div id=divColumn" + id + " style='border:solid 1px gray; width:15%;'><div id=divHeader" + id + " style='border: solid 1px gray; height: 50px;'> </div> <div id=divData" + id + " style='border: solid 1px gray; height: 445px;'> </div></div>"; $(newdiv).css("float", "left").appendTo("#divContent"); id++; }); }); html code <div id="divContent" class="back" style="border: solid 3px gray; height: 500px; width: auto;overflow-x: scroll; overflow-y: visible;"> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)