JQuery SimpleModal - 新手尝试在模式窗口中打开一个简单的 asp 表单
我发现使用 Facebox 实现包含 html 或 asp 页面的模态窗口非常容易,但我想尝试一下 SimpleModal。
我试图学习如何使用联系表 http://www.ericmmartin.com/simplemodal/ 但意识到它只适用于 php。 我是一名编码新手,所以请多多宽容。 :) 。
无论如何,我希望完成的是打开一个包含表单的 asp 页面。 我尝试使用 Facebox 执行此操作,但表单没有提交到表单页面,而是提交到父窗口。
有没有一种简单的方法可以做到这一点? SimpleModal 看起来很棒,但我发现它比facebox 或thickbox 更难实现。 至少使用facebox或thickbox我可以在窗口中加载html或asp页面。对于如何做到这一点,我没有看到 SimpleModal 的简单选择。
提前致谢。
I found it very easy to implement modal windows that included an html or asp page in it with facebox but I wanted to give SimpleModal a try.
I was trying to learn how to use the Contact Form
http://www.ericmmartin.com/simplemodal/
but realized it was only for php.
I am a novice coder so please have some mercy. :) .
Anyhow what I was hoping to accomplish was to open up an asp page with a form in it.
I tried to do this with facebox but the form was not submitting to the form page but rather to the parent window.
Is there a simple way way to do this?
SimpleModal looks great but I found it so much harder to implement than facebox or thickbox.
At least with facebox or thickbox I could load html or asp pages in the window. I do not see an easy option for SimpleModal on how to do that.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
很抱歉您发现 SimpleModal 很难使用...我的意图
是为了让它变得简单;)
如果你想在asp中使用SimpleModal,你应该尝试使用
附加到选项。
要将外部内容加载到对话框中,您可以执行以下操作:
我希望有帮助。
-埃里克
I'm sorry that you found SimpleModal difficult to use...my intention
was for it to be simple ;)
If you want to use SimpleModal with asp, you should try using the
appendTo option.
To load external content into the dialog, you can do something like:
I hope that helps.
-Eric