以下是我的代碼,但我只是想實現簡單的組合框而不點擊。我的意思是我想要在html和jquery中刪除它。如果我刪除如何從組合框中刪除此點擊操作javascript
<a href="javascript:void(0)">Click</a>
然後jQuery代碼,我應該在上面的代碼中刪除
$(function(){
var CB = $("select").kendoComboBox();
$("a").click(function(){
});
});
<html>
<head>
<script class="jsbin" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<link href="http://cdn.kendostatic.com/2012.1.515/styles/kendo.common.min.css" rel="stylesheet" />
<link href="http://cdn.kendostatic.com/2012.1.515/styles/kendo.default.min.css" rel="stylesheet" />
<link href="http://cdn.kendostatic.com/2012.1.515/styles/kendo.dataviz.min.css" rel="stylesheet" />
<script src="http://cdn.kendostatic.com/2012.1.515/js/kendo.all.min.js"></script>
</head>
<body>
<select>
<option>One</option>
<option>Two</option>
<option>Three</option>
</select>
<a href="javascript:void(0)">Click</a>
</body>
</html>
可以在代碼片段中編輯,以便更好地理解或重新編輯我需要添加的完整jQuery代碼.....? – overflowstack9
看到我編輯的帖子,希望它是你想要的 – Gatsbill