Commit 9599000f by 冷斌

fix bug

parent ee21c172
......@@ -330,13 +330,22 @@
$(function () {
iscollect(isCollect);
$('.next_question').on('click', function () {
$('.next_question').on('click', function (event) {
alert(1);
window.location.href = 'http://www.baidu.com';
stopBubbling(event);
});
});
function stopBubbling(e) {
e = window.event || e;
if (e.stopPropagation) {
e.stopPropagation(); //阻止事件 冒泡传播
} else {
e.cancelBubble = true; //ie兼容
}
}
</script>
<script src="__APP__/js/public_exam_3g.js"></script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment