Hi again here guys,
I've noticed another strange problem on my tablet with "select" event on TabStrip:
here's functions:
On my Desktop, it works like a charm, with no problem at all, but on my tablet it's broken and I'm stucked. Console says :
Uncaught TypeError: Cannot read property 'id' of undefined
Any help would be appreciated!
I've noticed another strange problem on my tablet with "select" event on TabStrip:
here's functions:
$(document).ready(
function
() {
tabStrip = $(
"#chPage"
).kendoTabStrip({
select: onSelect,
animation:
false
});
function
onSelect(e) {$(document).ready(
function
() {
switch
(e.item.id) {
case
"chBtn1"
:
$(
'#chPage-1'
).empty();
break
;
case
"chBtn2"
:
$(
'#chPage-2'
).empty();
break
;
case
"chBtn3"
:
$(
'#chPage-3'
).empty();
break
;
}
fillPages();
}
On my Desktop, it works like a charm, with no problem at all, but on my tablet it's broken and I'm stucked. Console says :
Uncaught TypeError: Cannot read property 'id' of undefined
Any help would be appreciated!