【问题标题】:Submit Form and Open in prettyPhoto提交表单并在 prettyPhoto 中打开
【发布时间】:2013-08-27 04:34:27
【问题描述】:

我有一个向冷融合页面提交值的表单,我希望该页面在 prettyPhoto 灯箱中启动。这是表单的基本代码:

<form name="CFForm_1" action="../water/search_results2.cfm" method="post" onsubmit="return _CF_checkCFForm_1(this)" rel="prettyPhoto" >

这是提交:

<input name="Submit" type="submit" value=" Submit Query " >

这是示例页面: http://dev.fosr.org/water-query/?sid=NS46

运行 Wordpress 和 PrettyPhoto Media 插件,你猜怎么着?我做了很多研究,但我发现的所有内容都与使用 prettyPhoto 打开/验证表单有关。

就我而言,我希望表单在灯箱中提交/打开结果

【问题讨论】:

  • 迈克尔,我和你的处境完全一样。你能否提供一个完整的例子来说明这个问题是如何最终解决的。解决方案没有为我提交表单。

标签: javascript jquery html wordpress forms


【解决方案1】:
<input type="submit" value="Abschicken" id="submit" name="submit" rel="prettyPhoto" onclick="$.prettyPhoto.open('mailer.php?ajax=true&width=60%&height=20%'); return false;" />

【讨论】:

  • 那没有为我提交表格。您能否展示您是如何编码表单属性的,即 method=post 等
猜你喜欢
  • 2013-05-14
  • 2018-04-16
  • 1970-01-01
  • 1970-01-01
  • 2010-10-08
  • 1970-01-01
  • 2018-06-24
  • 2014-05-08
  • 1970-01-01
相关资源
最近更新 更多