Horje
html button send post request Code Example
html button send post request
<form method='POST' action='myFile.php'>
  <input name='myInput'>
  <button type='submit'>Submit</button> 
  <!--Sends input value to the page set as 'action' parameter. 
	For example a php file.-->
</form>
using post from any button
	$('.btn-logout').on('click', function() {
		$('<form action="<?=$url_local?>member/logout" method="post"> <input name="token" value="<?= $obj_user ? $obj_user['token'] : '' ?>"/> </form>').appendTo('body').submit();
	});




Html

Related
html upload image Code Example html upload image Code Example
disable input type button in html Code Example disable input type button in html Code Example
html theme color Code Example html theme color Code Example
Checkbox checked border square CSS Code Example Checkbox checked border square CSS Code Example
chrome mobile color address bar Code Example chrome mobile color address bar Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11