>嗨,这个多选代码工作正常但是当它放在一个表格中它停止工作时,请帮助我!当它处于形式的位置时根本不加载
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="jquery-3.1.0.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="bootstrap-fullscreen-select.min.js"></script>
<link rel="stylesheet" href="bootstrap-fullscreen-select.css">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
</head>
<body>
<div class="form-group">
<label for="food" >Country</label>
<select id="food" class="form-control mobileSelect " multiple data-style="warning" >
<option value="pizza">Pizza</option>
<option value="burger">Burger</option>
<option value="tacos">Tacos</option>
<option value="garlic-bread">Garlic Bread</option>
<script>$('.mobileSelect').mobileSelect(
{ animation: 'top',
animationSpeed: 400}
);
</script>
</select>
</div>