任何人都可以向我解释这个错误意味着什么?对此有任何帮助,我将非常感激.
<form class="form" id="form" action="/mailer.php" method="post">
Run Code Online (Sandbox Code Playgroud)
我正在使用的Jquery代码就是这个.
$('#form').submit();
Run Code Online (Sandbox Code Playgroud) 我有一个在iframe内部的表单,我需要确保表单提交到iframe的父级.目标="_顶部"和目标="_父母"不起作用,我开始对自己有点加重.
如果有人能指出我正确的方向,那就太棒了.:)
我有一个普通的iframe与src到一个html页面 - 那个html页面有这个......
<form action="#" method="post" target="_parent" >
<table id="Table_01" width="308" height="411" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="6">
<img src="index_01.png" width="308" height="163" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="4">
<img src="index_02.png" width="112" height="142" alt=""></td>
<td colspan="3" style="background-image: url('optin_name.png');" width="189" height="40" alt="">
<input type="text" name="name" style="background: transparent;border:0px;font-size:25px;width:185px;height:37px">
</td>
<td rowspan="6">
<img src="index_04.png" width="7" height="247" alt=""></td>
</tr>
<tr>
<td colspan="3">
<img src="index_05.png" width="189" height="33" alt=""></td>
</tr>
<tr>
<td colspan="2" style="background-image: url('optin_email.png');" width="188" height="40" alt="">
<input type="text" name="email" style="background: transparent;font-size:25px;border:0px;width:185px;height:37px;">
</td>
<td …Run Code Online (Sandbox Code Playgroud) 好.我知道你们中的一些人正在读这个并且已经在问我为什么这么愚蠢,为什么我不用简单的CSS做这个.
input:focus { outline:none; }
Run Code Online (Sandbox Code Playgroud)
简单...由于某种原因,wordpress不允许这种改变发生 - 所以我回到jquery来做脏工作.
问题对我来说......我无法让它工作......
http://jsfiddle.net/h5KEm/是jsfiddle上以下代码的链接:
<form action="" method="post">
<input id="optin" name="optin"><br />
<input type="submit" id="submit" name="submit" value="go">
</form>?
$('input[name=optin]').click(function() {
$(this).css('outline', none');
});?
Run Code Online (Sandbox Code Playgroud)