【发布时间】:2014-06-18 07:16:35
【问题描述】:
向 FancyBox 的 FancyApps2 close 按钮添加帮助函数以将其变为 submit 按钮的语法是什么?
我需要添加以下内容:
input type="submit"
name="whereto"
value=""
当前 FancyBox 函数
$(function () {
$(".fancybox_iframe").fancybox({
type: 'iframe',
padding: 0,
scrolling: 'no',
width: 840,
minHeight: 150,
height: 615,
closeBtn: true,
helpers: { overlay: { closeClick: false, opacity: .5} },
afterShow: function () { $("a.fancybox-close").attr("title", null); },
afterClose: function () {
parent.close_field('notice');
parent.closeiframe_redirect('index.php');
}
});
});
【问题讨论】:
标签: javascript jquery fancybox-2 submit-button