I'm developing a PHPFox Module where I use a jQuery Plugin to paginate a serie of images. When I access the module the plugin doesn't work, but the rest of the js code have no problem. The only code that doesn't work is which is placed inside the $(document).ready
event. If I refresh the page the plugin starts to work.
I think the problem is caused for the cache of the CMS, because the DOM isn't reloaded when I load the Module. I tried to change de $(document).ready
for window.onload
but I've the same problem.
Could somebody help me?