title: Mouse & keyboard event names in JavaScript
body: <p>I want to ask a question about the JavaScript event. I have an <code>&lt;input type="text"&gt;</code> box and I have applied the autocomplete function on that box.</p>
  
  <p>I know that when the user types the char like "sta" in the box and the JavaScript will call the <code>keypress</code> event, which also calls the autocomplete function. </p>
  
  <p>However, I want to know what event of the JavaScript will be called what I use the mouse to click/click the keyboard "enter" to the wanted item from the autocomplete list.</p>