私はhtmlでこのコードを持っています:
<form action="/login/" method="post">
<input type="text" name="login">
<input type="text" name="pass">
<input type="submit" value="login" name="type" >
<input type="submit" value="register" name="type" >
</form>
このフォームを送信するget
と、クリックされたボタンのフィールドの値を含むリクエストが送信されます。ただし、送信された値を変更せずにボタンのラベルを変更したいget
。それは可能ですか?