targeting a div as content for JQuery lightbox
Hi
I have a JQuery lightbox popup but am struggling how to control the content of the lightbox. all the examples given on the internet are from anchor links that are fixed. I however, need to use it from images pulled from the database so therefore the content will be different depending on what image is clicked.
I already have the content I need in a div, so is there a way of targeting that div so it is displayed within the lightbox?
thank you in advance for your help, im very new to JQuery but find it very interesting and would like to learn more