I have following function in my onRender function, which will be called when the findall checkbox is clicked.
this.$el.find('.findall').on('click', function(e) { ... });
I want to know how can I write a function simillar to above which should be called if the checkbox is checked. (by default I am checking this checkbox, but the above function will be called only when I click that box, but I need something that will called based on the checkbox status).