为了使 Kendo UI DropDownList 将 title 属性显示为 kendoTooltip,我需要做什么?
这就是我正在做的事情:http: //jsfiddle.net/EdsonF/qDRv3/1/
<div class="editor-field">
<select id="Title" name="Title" title="What's your title?">
<option value="Mr.">Mr.</option>
<option value="Mrs.">Mrs.</option>
<option value="Miss">Miss</option>
</select>
</div>
$(function () {
var tooltip = $('#Title').kendoTooltip({
position: "right",
autoHide: true,
width: 280,
animation: {
open: {
effects: "slideIn:right",
duration: 300
},
close: {
effects: "slideIn:right",
reverse: true,
duration: 200
}
}
});
$("#Title").kendoDropDownList();
});