I am going to disable scroll on a certain point.
This is my code to disable scroll.
table2.addEventListener('touchmove', function(e) {
if (item_edit != -1) {
tmp_item.width = 200;
tmp_item.center = {
x : e.x,
y : e.y
};
e.cancelBubble = true; <- This is code for disabling
return false;
}
});
But it doesn't work. I think there is no mistake on the code.
Please help me.
Thanks.