"wiz1"
Bootstrap 3.2.0 Snippet by dfelippa

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-md-6"> <div class="panel panel-primary" id="basepanel1"> <div class="panel-heading"> <h3 class="panel-title">Panel title</h3> </div> <div class="panel-body"> <p>Panel content</p> <div class="radio"> <label> <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked="">Option one is this and that—be sure to include why it's great </label> </div> <div class="radio"> <label> <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">Option two can be something else and selecting it will deselect option one </label> </div> <div class="radio disabled"> <label> <input type="radio" name="optionsRadios" id="optionsRadios3" value="option3" disabled="">Option three is disabled </label> </div> </div> </div> </div> </div> </div>
$(document).ready(function() { var basePanelContent = $('#basepanel1'); var panelContent = basePanelContent.clone(); panelContent.attr('id', 'dup1') panelContent.removeClass('hidden'); alert("1: " + panelContent.html()); //basePanelContent.append(panelContent.html); //basePanelContent.append(panelContent.html); panelContent.appendTo(basePanelContent); alert("2: " + basePanelContent.html()); });

Related: See More


Questions / Comments: