Problem
Showing div using fancybox doesn’t show nothing.
Fancybox code
$("#myDiv").fancybox();
Solution
You can do a simple workaround.
$.fancybox({ content: $("#myDiv").html() });
This will show content of your div in fancybox
Showing div using fancybox doesn’t show nothing.
Fancybox code
$("#myDiv").fancybox();
You can do a simple workaround.
$.fancybox({ content: $("#myDiv").html() });
This will show content of your div in fancybox