event angular check it right click
el.addEventListener('contextmenu', function(ev) {
ev.preventDefault();
alert('success!');
return false;
}, false);document.body.onclick = function (e) {
var isRightMB;
e = e || window.event;
if ("which" in e) // Gecko (Firefox), WebKit (Safari/Chrome) & Opera
isRightMB = e.which == 3;
else if ("button" in e) // IE, Opera
isRightMB = e.button == 2;
alert("Right mouse button " + (isRightMB ? "" : " was not") + "clicked!");
}
Also in PHP:
- check if string contains certain word
- date format Ymd php
- display message on laravel after post
- Message could not be sent.Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
- cake tmp name
- base64 to image
- autoloading classes
- aget date time in php
- file_put_contents true php
- convert text to uppercase in php
- exposé tinker laravel
- array reverse order php
- create laravel migration
- array inverted php
- check if array items are in an associative array
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t oo long; max key length is 767 bytes
- create a new project laravel
- check if next key is array or object in php
- clear cash in laravel
- does contains string character php
- create laravel project specific version
- date format in ph
- calculate one day add in total php
- catch php exception