Bladeren bron

Include input outside form demonstration

Add checkbox on sample form in README.
master
TheoryOfNekomata 3 jaren geleden
bovenliggende
commit
5ea923e826
1 gewijzigde bestanden met toevoegingen van 6 en 1 verwijderingen
  1. +6
    -1
      README.md

+ 6
- 1
README.md Bestand weergeven

@@ -42,13 +42,18 @@ For an example form:
```html
<!-- ... -->

<form id="form">
<form id="loginForm">
<input type="text" name="username" />
<input type="password" name="password" />
<button type="submit" name="type" value="client">Log In As Client</button>
<button type="submit" name="type" value="admin">Log In As Admin</button>
</form>

<label>
<input type="checkbox" name="remember" form="loginForm" />
Remember my login credentials
</label>

<!-- ... --->
```



Laden…
Annuleren
Opslaan