title: how to simulate right click in javascript
body: <p>Ok, so i know i can simulate a click by running this code</p>
  
  <pre><code>document.getElementById('recover').click();
  </code></pre>
  
  <p>the closest this i could find was cntextmenu so i tried </p>
  
  <pre><code>document.getElementById('recover').contextmenu();
  </code></pre>
  
  <p>however this does nothing</p>
  
  <p>Is it possible to right click and element to bring up the contextual menu so i can click an item on that list ? and if so could someone point me in the correct direction to accomplish such a goal ?</p>
  
  <p>I've done some searching but the only thing i have found is jquery javascript capturing of the event not actually triggering the event</p>