Search
 
SCRIPT & CODE EXAMPLE
 

HTML

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>
Comment

PREVIOUS NEXT
Code Example
Html :: ver pdf html5 
Html :: onclick button href 
Html :: font awesome 5 pro 
Html :: how to use google drive image in html 
Html :: download ebook free 
Html :: set icon for html page tab 
Html :: link phone number mail html 
Html :: html starting tag 
Html :: react html mouseover 
Html :: bootstrap 5 border shadow 
Html :: html links 
Html :: adding css to html 
Html :: js on page finished loading 
Html :: html sms link iphone 
Html :: password pattern html regex 
Html :: checked bootstrap 5 
Html :: html template 
Html :: html viewport meta tag 
Html :: can get input value from dangerouslysetinnerhtml 
Html :: html input autofocus 
Html :: python in html 
Html :: onclick open new url html 
Html :: html make space between buttons 
Html :: pass a method to composite jsf 
Html :: tailwind image text 
Html :: vue submit reloads page 
Html :: input width autosize 
Html :: menu icon html code 
Html :: input type submit align center 
Html :: phoneto html 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =