Any direction on this is much appreciated, I think I need to somehow
use the 'complete' option on the ajax call but I cannot get it to
work.

I have an image gallery that displays one big image in the preview
pane, and three thumbnails.  I use an ajax call to fetch the next
three or previous three based on user selection.  I also use
javascript to load a selected thumbnail into the preview pane
onclick.  I am not using any inline javascript (no 'onclick'), I add
an event listener to each thumbnail.  Problem is that when the next
three thumbnails are populated via the ajax, the event listeners are
not getting added to them.

Is there a way I can force the javascript to add the event listener
after the ajax call returns the next three (or previous three)?

Thanks much for any time and direction.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to