0
I have the following html:
<div>
<h3>Use font awesome icons</h3>
<div id="lobipanel-font-awesome" class="panel panel-info">
<div class="panel-heading">
<div class="panel-title">
Panel title
</div>
</div>
<div class="panel-body">
Lorem ipsum dolor sit amet concealed leaf shah proper council binary. Concealed assured affairs faces, finish easily glows shouted faint. Sentence islands spouting we unbeguiled, faces concealed. Diam rays countries, faces fames peeling bind wary catch solomon, painting, they beats evil. Failing newer landscapes steal retinues vidi rays echoes sheltered evil. Veins concealed spouting obtaining delight wild. Venenatis failing wreaths shouted countries wild, privilege climbing.
</div>
</div>
</div>
this code generates a panel, on the page has a button "open panel", would you like the panel to be created (open) after clicking the button, how can I do this? can generate html at runtime?
I’m not sure what style you want to achieve but have you thought about using the <Details> element? You can give the same effect as you want besides giving semantics to your html. link: http://html5doctor.com/the-details-and-summary-elements/
– Fabri Damazio