Kendo UI
jQuery + Kendo UI + MockJax
by marhaba
HTML
<script src="http://cdn.kendostatic.com/2012.2.710/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.2.710/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.2.710/styles/kendo.default.min.css">
<input id="customers" style="width: 250px" />
JavaScript
$(function() {
$("#customers").kendoComboBox({
placeholder: "Select a customer",
dataTextField: "ContactName",
dataValueField: "CustomerID",
autoBind: false,
minLength: 3,
dataSource: {
type: "json",
transport: {
read: {
url: "http://demos.telerik.com/kendo-ui/service/Customers",
}
}
}
});
});