0
I have the following excerpt:
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapse2">Número Atendimentos PS que Viraram Internação</a>
</h4>
</div>
<div id="collapse2" class="panel-collapse collapse">
<div class="panel-body">
Conteúdo#########
</div>
</div>
I would like that collapse2 (conteúdo)
was only loaded on the page after clicking on href: #collapse2
. Is a accordion do bootstrap
.
This would be possible with Javascript
?
o The Content is already loaded, but is not shown, what would be the reason for not wanting to load it too ? http://jsfiddle.net/filadown/1e8wy107/1/
– Gabriel Rodrigues
I’m using some graphics and this way it gets disfigured.
– Rodrigo Segatto