L
LuckyJackie
Unregistered / Unconfirmed
GUEST, unregistred user!
表单:
<form method="post" name="quick_reply_form" id="quick_reply_form" action="./posting.php?mode=reply&f={FORUM_ID}&t={TOPIC_ID}&sid={SESSION_ID}" onsubmit="checkForm();" enctype="multipart/form-data">
<div class="panel" id="postingbox">
<div class="inner"><span class="corners-top"><span></span></span>
<h3>{L_POST_REPLY}</h3>
<fieldset>
<div id="message-box" style="margin:auto;">
<textarea name="message" id="message" rows="7" cols="76" tabindex="1" title="" class="inputbox"></textarea>
</div>
</fieldset>
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="panel bg2">
<div class="inner"><span class="corners-top"><span></span></span>
<fieldset class="submit-buttons">
<input type="submit" name="preview" tabindex="5" value="{L_PREVIEW}" class="button1" onclick="document.getElementById('postform').action += '#preview';" />
<input type="submit" name="post" tabindex="4" value="{L_SUBMIT}" class="button1" accesskey="s" />
</fieldset>
<span class="corners-bottom"><span></span></span></div>
</div>
</form>
另外的提交按钮:
<br />
<input type="button" name="xx" value="xx" onclick="document.getElementById('quick_reply_form').submit()" />
可是点xx按钮并不能提交,请问会是什么原因?谢谢。
<form method="post" name="quick_reply_form" id="quick_reply_form" action="./posting.php?mode=reply&f={FORUM_ID}&t={TOPIC_ID}&sid={SESSION_ID}" onsubmit="checkForm();" enctype="multipart/form-data">
<div class="panel" id="postingbox">
<div class="inner"><span class="corners-top"><span></span></span>
<h3>{L_POST_REPLY}</h3>
<fieldset>
<div id="message-box" style="margin:auto;">
<textarea name="message" id="message" rows="7" cols="76" tabindex="1" title="" class="inputbox"></textarea>
</div>
</fieldset>
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="panel bg2">
<div class="inner"><span class="corners-top"><span></span></span>
<fieldset class="submit-buttons">
<input type="submit" name="preview" tabindex="5" value="{L_PREVIEW}" class="button1" onclick="document.getElementById('postform').action += '#preview';" />
<input type="submit" name="post" tabindex="4" value="{L_SUBMIT}" class="button1" accesskey="s" />
</fieldset>
<span class="corners-bottom"><span></span></span></div>
</div>
</form>
另外的提交按钮:
<br />
<input type="button" name="xx" value="xx" onclick="document.getElementById('quick_reply_form').submit()" />
可是点xx按钮并不能提交,请问会是什么原因?谢谢。