e.preventDefault(); //阻止事件的默認行爲,好比a標籤的轉向,但不阻止事件的冒泡傳播e.stopPropagation() //阻止事件的冒泡傳播,但不阻止其默認行爲returne false; //阻止二者