灯箱Ajax内容更新后,将无法正常工作 [英] Lightbox won't work after ajax content update

查看:103
本文介绍了灯箱Ajax内容更新后,将无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个日历 http://tinyurl.com/bn9r6lk 。 (插件: http://tinyurl.com/7axlse4

I have a calendar http://tinyurl.com/bn9r6lk . (plugin: http://tinyurl.com/7axlse4)

通过灯箱加上WP插件加载内容时。

the content loads through Lightbox Plus wp plugin.

无法获取收藏夹,以每月的任何切换后的工作。甚至当我变回最初的一个月。

Can't get the lightbox to work after any switching of the month. Even when I change back to the initial month.

帮助是非常AP preciated。

Help is much appreciated.

推荐答案

我没有与任何灯箱经验,但对于其他插件我使用的每一个Ajax请求后重装功能。请检查 jQuery.getScript

I don't have any experience with Lightbox but for other plugins I am using a reload function after each Ajax request. Please, check jQuery.getScript.

$.getScript("plugins/lightbox.js");

这篇关于灯箱Ajax内容更新后,将无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆