开发者

Loading an ajax enabled page into facebox or other lightbox

开发者 https://www.devze.com 2023-04-03 02:44 出处:网络
I have a page with a l开发者_如何学Pythonink to a view in another controller and this view has AJAX elements(a nested form). And I wondering whether it\'s possible to load the page in a facebox or lig

I have a page with a l开发者_如何学Pythonink to a view in another controller and this view has AJAX elements(a nested form). And I wondering whether it's possible to load the page in a facebox or lightbox and still keep the ajax functionality in the page loaded.

The closest thing I have seen is this but it's loads a page that doesn't contain AJAX. http://net.tutsplus.com/tutorials/ruby/how-to-build-an-unobtrusive-login-system-in-rails/

If this is possible how would you go about implementing this. I am using JQuery if it makes a difference.

Thanks, Alex


Yes, I know you can load pages within an iframe element using prettyPhoto (jQuery plugin) PrettyPhoto

0

精彩评论

暂无评论...
验证码 换一张
取 消