我使用jQuery插件中發現的1.4版本(DDCL)DropDownCheckList不工作
here而在我的本地機器上保存它,闖民宅它從本地我的HTML代碼,並且還我使用的版本的jQuery 1.7.1。我想創建我的頁面加載下拉清單,但它沒有正確地發生,任何人都可以建議我哪裏出錯,我做錯了什麼,這裏是我的代碼片段,
<!DOCTYPE html>
<html>
<head>
<script src="C:/Users/local/Desktop/jquery-1.7.1.js" type="text/javascript">
</script>
<script src="C:/Users/local/Desktop/ui.dropdownchecklist.js" type="text/javascript"></script>
</head>
<body>
<select multiple id="s2">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="fiat">Fiat</option>
<option value="audi">Audi</option>
</select>
<script type="text/javascript">
$(document).ready(function() {
$("#s2").dropdownchecklist();
});
</script>
</body>
</html>
該鏈接似乎不工作 –
對不起,該鏈接是http://dropdown-check-list.googlecode.com/svn/trunk/doc/dropdownchecklist.html – joedanny