JQuery MultiSelect不能多选的问题 10
程序中需要使用多选下拉框,从网上查找到http://www.erichynds.com/blog/jquery-ui-multiselect-widget,但是就是不能出...
程序中需要使用多选下拉框,从网上查找到http://www.erichynds.com/blog/jquery-ui-multiselect-widget,但是就是不能出现多选,部分代码如下:
<head>
<script type="text/javascript" src="~/Scripts/jquery-1.7.1.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery-ui-1.8.20.js" type="text/javascript"></script>
<script src="~/Scripts/jquery-ui-1.8.20.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery.bgiframe.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery.multiSelect.js" type="text/javascript"></script>
<link href="~/Scripts/jquery.multiSelect.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript">
$(document).ready( function() {
// With callback
$("#control_6").multiSelect( null, function(el) {
$("#callbackResult").show().fadeOut();
});
});
</script>
<p>
<span id="callbackResult" style="display: none;">Callback triggered!</span><br />
<select id="control_6" name="control_6[]" multiple="multiple" size="5">
<option value=""></option>
<option value="option_1">Option 1</option>
<option value="option_2">Option 2</option>
<option value="option_3">Option 3</option>
<option value="option_4">Option 4</option>
<option value="option_5">Option 5</option>
<option value="option_6">Option 6</option>
<option value="option_7">Option 7</option>
</select>
</p>
请高手指点,我是初学者,请详细赐教,谢谢!浏览器是FireFox 展开
<head>
<script type="text/javascript" src="~/Scripts/jquery-1.7.1.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery-ui-1.8.20.js" type="text/javascript"></script>
<script src="~/Scripts/jquery-ui-1.8.20.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery.bgiframe.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery.multiSelect.js" type="text/javascript"></script>
<link href="~/Scripts/jquery.multiSelect.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript">
$(document).ready( function() {
// With callback
$("#control_6").multiSelect( null, function(el) {
$("#callbackResult").show().fadeOut();
});
});
</script>
<p>
<span id="callbackResult" style="display: none;">Callback triggered!</span><br />
<select id="control_6" name="control_6[]" multiple="multiple" size="5">
<option value=""></option>
<option value="option_1">Option 1</option>
<option value="option_2">Option 2</option>
<option value="option_3">Option 3</option>
<option value="option_4">Option 4</option>
<option value="option_5">Option 5</option>
<option value="option_6">Option 6</option>
<option value="option_7">Option 7</option>
</select>
</p>
请高手指点,我是初学者,请详细赐教,谢谢!浏览器是FireFox 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询