我想显示一个模式弹出窗口bootstrap
。这个模式应该显示应该动态放置的信息。我想要的是在nome articolo ecc ecc 中显示一个名称。这是我到目前为止所做的。
<span class="btn-group">
<a href="#responsive" role="button" class="btn btn-small" data-toggle="modal" data-id="prova"><i class="icon-pencil"></i></a>
</span>
<!-- Modal Definitions (tabbed over for <pre>) -->
<div id="responsive" class="modal hide fade" tabindex="-1" data-width="760">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Inserisci Articolo</h3>
</div>
<div class="modal-body">
<div class="row-fluid">
<div class="span12">
<p>Codice Barre <input type="text" class="span12" name="codiceBarre" id="codiceBarre" /></p>
<p>Nome Articolo <input type="text" class="span12" /></p>
<p>Quantità <input type="text" class="span12" /></p>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn">Chiudi</button>
<button type="button" class="btn btn-primary">Salva</button>
</div>
</div>