JQuery的Facebox插件:获取它的窗体标记内 [英] JQuery Facebox Plugin : Get it inside the form tag

查看:136
本文介绍了JQuery的Facebox插件:获取它的窗体标记内的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要使用Facebox的jQuery插件,但我有一个几个问题得到它运行我多么希望。 ,里面的内容标签的之外建立,因此即使我加载了一些网页的facebox的DIV控制他们都不是射击回服务器。

I am wanting to use the Facebox plugin for JQuery but am having a few issues getting it running how I want. The div that houses the facebox content is created outside of the tag so even though I am loading up some web controls none of them are firing back to the server.

有没有人处理这一点,可以给我一些指点?

Has anyone dealt with this that can give me some pointers?

推荐答案

我周围的函数初始化跨越这条线传来facebox.js戳(设置)...

poking around the facebox.js I came across this line in the function init(settings)...

$('body').append($.facebox.settings.faceboxHtml)

我改变了,要...

I changed that to ...

$('#aspnetForm').append($.facebox.settings.faceboxHtml)

和它的形式标记加载了,目前还不能确定是否有任何副作用

and it loads up in the form tag, not sure yet if there are any side effects

这篇关于JQuery的Facebox插件:获取它的窗体标记内的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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