Specifically I'm looking to bind lightbox to a specific element. Normally I would just do this: $('a.lightbox').lightBox();
but that isn't working since I'm doing some loading with AJAX. Looking at the jQuery API I found .bind()
and .live()
but I'm not getting anything when I do $('a.lightbox').bind('lightBox')
after the AJAX .load()
call.
What am I missing?