Answers for "a href submit form"

39

bootstarp btn colors

<button type="button" class="btn btn-primary">Blue</button>
<button type="button" class="btn btn-secondary">Grey</button>
<button type="button" class="btn btn-success">Green</button>
<button type="button" class="btn btn-danger">Red</button>
<button type="button" class="btn btn-warning">Yellow</button>
<button type="button" class="btn btn-info">Ligth blue</button>
<button type="button" class="btn btn-light">White</button>
<button type="button" class="btn btn-dark">Black</button>

<button type="button" class="btn btn-link">White with blue text</button>
Posted by: Guest on April-23-2020
0

a href type submit

<!-- just add javascript event inside <a></a> tag -->

<form action="/logout" method="POST" id="formLogout">
	<a onclick="document.getElementById('formLogout').submit();">Sign Out</a>
</form>
Posted by: Guest on August-17-2021
0

bootstrap button drak

<button type="button" class="btn btn-dark">Dark</button>
Posted by: Guest on October-30-2020

Browse Popular Code Answers by Language