【发布时间】:2014-02-14 11:57:39
【问题描述】:
当我使用下面的函数提交表单时,它正在提交但值没有通过这个函数传递。我使用了所有功能,但没有找到:
document.getElementById("postad").submit();
表格如下。
<form action="register.php" id="postad" method="post">
<input class="textfield2" type="text" id="post_title" style="width:640px;" placeholder="Ad Title" onBlur="check('post_title')" />
<input class="button" type="button" name="save" value="Publish" onclick="send();" />
</form>
【问题讨论】:
-
显示表单 html 以及提交表单的位置。
-
表单的html代码
-
什么值?你如何确定它没有被通过?
标签: javascript html