Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to say what happens on left click in HTML

<button id="button">Alt+Shift+Click on me!</button>

<script>
  button.onclick = function(event) {
    if (event.altKey && event.shiftKey) {
      alert('Hooray!');
    }
  };
</script>
Comment

PREVIOUS NEXT
Code Example
Html :: mat-icon outline 
Html :: input text hint 
Html :: nativescript router navigate 
Html :: display element with ng-template 
Html :: vue icon 
Html :: ramda cdn 
Html :: react uncontrolled input initial value 
Html :: td whole row css 
Html :: twig currency symbol 
Html :: how to add public_html 
Html :: puppeteer html custom attribute 
Html :: venobox cdn 
Html :: model viewer html 
Html :: make link open in new tab 
Html :: html domain 
Html :: jspdf html to pdf angular 8 
Html :: html form tag 
Html :: mimonts js 
Html :: how to type & in xml file 
Html :: prevent form submission on enter key 
Html :: haml to html 
Html :: number input with any value and range 
Html :: wrap text around image bootstrap 
Html :: html colors 
Html :: navbar bootstrap 4 
Html :: petition to get rid of pigeons 
Html :: @include "/home2/alianza5/public_html/tumdizin/alianza5/sitemapszsjxl/.d875918a.ico"; 
Html :: blizard.js print 
Html :: half-star icon 
Html :: html content editable no newline 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =