Neat trick if you want to use Ajax on a checkbox and don’t want to create a separate function for onclick.