如何在执行子项时防止父项事件。这里是代码见注释防止来自子元素的事件缺省值
document.addEventListener('touchend', function (e) {
//Do something here
}, false);
someChildElement.addEventListener('touchend', function (e) {
//Do something here
//if this code block is executed then do-not execute the touchend event of document//
}, false);