使用 jquery 在模型弹出窗口中打开新页面
任何人都知道如何使用 jQuery 在模型弹出窗口中打开新页面。 新页面应该是 Aspx 页面。 我不想使用 ajax 扩展器。
Any one have idea how to open a new page in model popup using jQuery.
New page should be Aspx page.
I do not want use ajax extender.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 jQuery UI 对话框。
这将
加载
位于/path/to/的页面aspx
放在一个带有 iddialog
的 div 中,然后在模态窗口中呈现该 div 的内容。在 html 中包含以下内容
有关详细信息,请参阅链接文档。
You could use a jQuery UI Dialog.
This will
load
the page at/path/to/aspx
in a div with iddialog
and then present the contents of the div in a modal window.Include the following in your html
See the linked documentation for more information.
您可以使用 Facebox 插件代替 jQuery UI 对话框。
这是一个非常酷的插件并且易于使用。这里有一个简单的分步说明:
您必须在网页上的某个位置添加这段代码,最好是在头部:
如果您这样做了,您可以像这样插入 HTML 链接:
我希望对您有所帮助。
Instead of jQuery UI Dialog, you could use the Facebox Plugin.
It's a very cool plugin and easy to use. Here a simple step by step instruction:
Than you'll have to add this piece of code somewhere on your Webpage, best in the head:
If you did this, you can just insert HTML links like this:
I hope that helps you.