我有一个bootstrap下拉菜单。我想要一个当选择时下拉菜单项,我想更新我的数据。现在我该怎么办? (我不想使用标签)
我的Bootstrap代码:
```<form action="sampleupdate.php" method="post">
<div class="dropdown">
<button href="#pablo" class="dropdown-toggle btn btn-primary btn-round btn-block" data-toggle="dropdown" aria-expanded="false">Dropdown
<b class="caret"></b>
<div class="ripple-container"></div></button>
<ul class="dropdown-menu dropdown-menu-left">
<li class="dropdown-header">Dropdown header</li>
<li>
<a href="#pablo">Action<div class="ripple-container"></div></a>
</li>
<li>
<a href="#pablo">Another action</a>
</li>
<li>
<a href="#pablo">Something else here<div class="ripple-container"></div></a>
</li>
<li class="divider"></li>
<li>
<a href="#pablo">Separated link</a>
</li>
<li class="divider"></li>
<li>
<a href="#pablo">One more separated link</a>
</li>
</ul>
</div>
</form>