how to load external content in a div and then display it in a lightbox using jquery?
h开发者_StackOverflowow to load external content in a div and then display it in a lightbox using jquery?
Thanks
You can use .load() method
As rahul said you would be best to use the load method to fetch the external content and then find a lightbox plugin that you like and use that to display the data. There are lots to choose from.
The easy solution can be found at FancyBox
精彩评论