<input type="checkbox" checked onclick="myfunction();alert('就是不給動~~');return false;"/>
'return false' will cancel event bubbling and prevent checkbox from being changed
不管 user怎麼 click,甚至用 space鍵, checkbox都會保持被勾選
<input type="checkbox" checked onclick="myfunction();alert('就是不給動~~');return false;"/>