PHP & JavaScript Room :: 設置サンプル

実行結果

ソース

<form method="post" action="#" onsubmit="alert('サンプルのため送信処理は行いません'); return false;">
    <input type="text" size="20" maxlength="40" />
    <!-- 送信ボタン -->
    <input type="image" src="/content/img/btn/send.gif" alt="送信" style="vertical-align:middle;" />
    <!-- クリアボタン -->
    <input type="image" src="/content/img/btn/btn_clear.gif" alt="クリア" onclick="this.form.reset(); return false;" style="vertical-align:middle;" />
</form>

polarized women