私のCSSボタンを送信できません。フォームは正しいページに進みますが、何も送信されません。何か案は?PHPエコー送信ボタンエラー
echo "<form action=\"submit_something.php\" id=\"submit_x\" method=\"post\">
<input type=\"hidden\" name=\"submit_value\" value\"10\"/><div id=\"button\">
<a href=\"javascript:;\"onclick=\"javascript:document.getElementById('submit_something').submit()\">buttonvalue</a>
</div></div></form>"
アップデート2:
echo "<form action=\"submit_something.php\" id=\"submit_x\" method=\"post\">
<input type=\"hidden\" name=\"submit_value\" value\"10\"/><div id=\"button\">
<a href=\"javascript:;\"onclick=\"javascript:document.getElementById('submit_x').submit()\">buttonvalue</a>
</div></div></form>"
Update3と: CSS: は私が代わりにこれを試してみました
#btn {font-weight:bold}
HTML:
<form action="submit_something.php" id="submit_x" method="post">
<input type="submit" value="button" id="#btn">
</form>
ボタンを取得していませんSTY LED。私はdifferentcssパラメータを試しましたが、送信ボタンはスタイルになっていません。何か案は?
ルックを印刷するには、あなたのphp!フォームを送信するために**設計された要素: '' – Quentin
私は、$ _POST – user1163859
が上に更新されたCSSボタンを使用しています:) – user1163859