Fancybox v2.1.3 ajax load form
问题 Hi again to all fancybox lovers. I got stuck with ajax load an external html form into current viewed html file. I use a hidden trigger with class="fancybox.ajax" in a tag that is brought into html that way: $('body').prepend('<a class="fancybox fancybox.ajax" href="form.html" style="display: none;"></a>'); so that form can be brought next with following into html: $(".fancybox.ajax").trigger('click'); But this fails. Maybe i need "on" or "live". I do not know if there is a better way to