我有一个带有选择选项标签的简单表单,我正在尝试使用引导多选对其进行样式设置。不幸的是,似乎没有加载引导多选或其他东西......我得到的只是经典的html选择多选框......
这是我的代码:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="CSS/main.css" rel="stylesheet" type="text/css" />
<link href="CSS/bootstrap-multiselect.css" rel="stylesheet" type="text/css" />
<link href="CSS/bootstrap-3.3.2.min.css" rel="stylesheet" type="text/css" />
<link href="CSS/bootstrap-theme.min.css" rel="stylesheet" type="text/css" />
<link href="CSS/prettify.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="JS/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="JS/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="JS/bootstrap-3.3.2.min.js"></script>
<script type="text/javascript" src="JS/prettify.js"></script>
<script type="text/javascript" src="JS/main.js"></script>
</head>
<body>
<div>
<form id="tablefilterselect" method="POST" action="http://localhost/admincrud/php/tablefilterview.php">
<br><br><br>
Select columns: <br><br>
<select class="multiselect" name = "coloaneselect" multiple="multiple" >
<option value="cheese">Cheese</option>
<option value="tomatoes">Tomatoes</option>
<option value="mozarella">Mozzarella</option>
<option value="mushrooms">Mushrooms</option>
<option value="pepperoni">Pepperoni</option>
<option value="onions">Onions</option>
</select>
<br><br>
<input name="customtablesubmit" type="submit" value="Submit">
</form>
</div>
</body>
<script type="text/javascript">
$(document).ready(function() {
$('#coloaneselect').multiselect({
includeSelectAllOption: true,
enableFiltering: true
});
});
</script>
有人可以帮我吗?我在这里做错了什么?