Hi guys,
My code is live here:
http://www.semiconductorconnect.org/kendo/#categorylist
I want to use data-change along with a radio button, but the JS function is not triggered, see the abbreviated code below:
Regards
My code is live here:
http://www.semiconductorconnect.org/kendo/#categorylist
I want to use data-change along with a radio button, but the JS function is not triggered, see the abbreviated code below:
<
div
id
=
"categorylist"
data-role
=
"view"
data-title
=
"Category List"
data-layout
=
"checklayout"
>
<
ul
data-role
=
"listview"
data-style
=
"inset"
data-type
=
"group"
>
<
li
>
Category List
<
ul
>
<
li
>
<
label
>
<
input
name
=
"categorylistradio"
type
=
"radio"
value
=
"1"
data-change
=
"categoryswitch"
/>
<
div
style
=
"height: 8px; width:8px; background: #67e667; border:1px; border-style:solid; float:left; margin-right: 3px; margin-top: 7px;"
></
div
>Academic </
label
>
</
li
>
</
ul
>
</
li
>
</
ul
>
</
div
>
<
script
>
function categoryswitch(e) {
alert('test');
}
kendo.init($("#categorylist"));
</
script
>
Regards