編輯代碼:
查看結果 »
試一試 - ©
w3ii.com
This is a paragraph.
This is another paragraph.
Click any p element to make it disappear.
Remove the click.mySomething namespace for all p elements
"click.mySomething" defines the mySomething namespace for this particular click event. This event could be removed by using .off("click.mySomething"), without removing other click handlers attached to the specified element.