I try to build my own custom checkbox plugin using jQuery, and it works great, but how do I attach functions (not click / focus.. events) to future created inputs (by ajax for example) without calling the plugin again every time?
This code didn't help:
$(document).on('ready', 'input[type=checkbox]', function...
How can I make it work?