在 Bootstrap 模式窗口中选择在 Firefox 中不起作用 [英] Select in Bootstrap modal window doesn't work in Firefox
问题描述
我想制作一个模态窗口,在其中我从表单选择中选择一个选项并将其传递给进一步的功能.The problem is, that when the select list drops down, i can't change the selected option.此问题仅在 Firefox 中出现.在 Chrome 中它似乎运行良好.
以下是我在应用程序中使用的代码.除了来自 Bootstrap 的那些之外,我没有任何其他样式或脚本.
<div class="modal-body"><div><select class="form-control" ><选择的选项>1</option><option>2</option><选项>3</选项><选项>4</选项><option>5</option></选择>
<div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">关闭</button><button type="button" class="btn btn-primary" id='generate'>Generate</button>