js中點擊動態添加元素 及事件屢次執行

$(document).off('click', ".room").on("click", ".room", function() {
return false;
});ide

return false;是爲了防止屢次執行it

相關文章
相關標籤/搜索