将表单结果发布到COLORBOX模式中 [英] Post form results into COLORBOX modal
本文介绍了将表单结果发布到COLORBOX模式中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个包含文件上传表单的页面。
I have a page with file upload form.
<form enctype="multipart/form-data" method="post" action="uploaded.php">
<input type="file" name="my_file">
<input type="submit">
</form>
我需要将结果发布到使用colorbox jQuery插件创建的模态窗口中。
I need to post results into a modal window created with colorbox jQuery plugin.
http://colorpowered.com/colorbox/
有谁知道怎么做?
谢谢
推荐答案
Colorbox是客户端,上传服务器端。你必须创建一个显示上传图像的php页面并在其上应用colorbox。
Colorbox is client-side, upload server-side. You have to create a php page which displays uploaded images and "apply" colorbox on it.
这篇关于将表单结果发布到COLORBOX模式中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文