Hi. I am using greybox2 plugin to generate a modal window with details of items when I click on their hyperlink, identified by the class= . However, I am also adding more such hyperlinks with teh same class= on the fly, and I need to rebind the elements correctly. Can I use livequery to do this, or do I need to do it another way?
This is what my code looks like: $(document).ready( function(){ var gbOptions = { gbWidth: 400, gbHeight: 400, captionHeight: 22 }; $('.pageWindow').greybox(gbOptions); // for item info opening in modal wondow blah blah blah ------------------------------------------------------- Can I use livequery like something like this ( This doesn't work)?: $('.pageWindow').livequery('click', $('.pageWindow').greybox(gbOptions); ) // for item info opening in modal wondow }); --------------------------------------------------------- Thanks, Jamie