I have a heavily customized questionnaire with a list that is looking like that
<ul>
<li class="customCheckbox">
<li class="customCheckbox">
</ul>
This questionnaire is loaded by a JQuery.ajax
call and the js code that comes with it is correctly processed when displayed in a JQuery UI dialog. The customCheckbox
present on the initial page are correctly processed by my (function($){ [...] })
in an external script jquery.customCheckbox.js
I need something like .live()
but since it is removed from JQuery I can't go far with that. I don't want to reload the script in the AJAX call if possible. This question is about the same but me it is not only about an event listener. It modifies the checkbox adding a class and listeners and other stuff.
Actually I am looking for something that would call my (function($)...
like $(document).ready
.
Thanks