Featherlight is a very lightweight jQuery lightbox plugin. It's simple yet flexible and easy to use. Featherlight has minimal css and uses no inline styles, everything is name-spaced, it's completely customizable via config object and offers image, ajax and iframe support out of the box. Featherlights small footprint weights about 4kB – in total.
Now I want to add the Text "AAA" or "BBB" to the content of #modalForm.
To select the right one, I need to know witch button was clicked. How can $(this) button be selected?
I've testet with current but I guess this holds the opend lightbox not $(this) clicked button.
Is there a way to select the element (button) that opend the lightbox? I've several buttons to open the lightbox always with the same content.
Now I want to add the Text "AAA" or "BBB" to the content of #modalForm. To select the right one, I need to know witch button was clicked. How can $(this) button be selected?
I've testet with current but I guess this holds the opend lightbox not $(this) clicked button.