From one page, I call fancybox to open an iframe in the fancybox.
From that page, the one in the fancybox, I try to write some more jQuery code.
$(document).ready(function() {});
is not called if my jQuery code is in the head tag, but if my jQuery code is written before anything, even the DOCTYPE, then it works. Why is this?
Thanks in advance.
以上就是Fancybox jQuery from iframe的详细内容,更多请关注web前端其它相关文章!