title: Simulating a right-click on a different div
body: <p>When I right-click on my #texte div, a contextMenu is called.</p>
  
  <pre><code>&lt;div id="texte" &gt;
          &lt;p&gt;Bla bla bla&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>What I want to do is: to simulate the right-click on that area by clicking on another button. For example by clicking this:</p>
  
  <pre><code>&lt;div id="otherDiv"&gt;
          &lt;form&gt;
              &lt;input type="submit" value="Check" onclick="check()" /&gt;
          &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Is it possible?</p>
  
  <p>I already tried the trigger fucntion like this:</p>
  
  <pre><code>function check() {
              $('#texte').trigger({
                  type: 'mousedown',
                  which: 3
              });
              //$('#btn-replace-accept_texte').trigger('click');
          }
  </code></pre>
  
  <p>but it doesn't work.</p>
  
  <p>Thanks for your help!</p>