or
#termin-listview li, #sk-listview li
{
background
:-moz-linear-gradient(
top
,
#2468A5
,
#17436A
);
/* Firefox */
background : -webkit-gradient(linear,
left
top
,
left
bottom
, from(
#2468A5
), to(
#17436A
));
/* Safari, Chrome */
}
#termin-listview li:active, #sk-listview li:active
{
background
:-moz-linear-gradient(
top
,
#ef652a
,
#ef652a
);
/* Firefox */
background : -webkit-gradient(linear,
left
top
,
left
bottom
, from(
#ef652a
), to(
#ef652a
));
/* Safari, Chrome */
<script type=
"text/javascript"
>
var
combobox;
var
data = [
{ text:
"White"
, value:
"1"
},
{ text:
"Black"
, value:
"2"
}
];
$(document).ready(
function
() {
combobox = $(
"#cmb"
).kendoComboBox({
dataSource: data,
dataTextField:
"text"
,
dataValueField:
"value"
}).data(
"kendoComboBox"
);
function
changeItems (){
data = [
{ text:
"Blue"
, value:
"1"
},
{ text:
"Green"
, value:
"2"
}
];
//now i want to change the items of my combobox
}
<
input
type
=
"button"
value
=
"Change"
id
=
"change"
onclick
=
"return changeItems();"
/>