Answers for "a type submit href"

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

Browse Popular Code Answers by Language