title: how to trigger an anchor tag resides on the page by clicking on another anchor tag
body: <p>I have model where i have two links click and click1 the pop is behind click and i want to trigger the popup when user clicks on click1 how can i do that .
  The anchor tags are here.</p>
  
  <pre><code> &lt;a href="#modal"&gt;Click&lt;/a&gt;
      &lt;a href="#modal1"&gt;Click1&lt;/a&gt;
  </code></pre>
  
  <p>And the script i have written for it.</p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
      $("#model1").click(function(){
       $("#model").trigger("click");
          });
      &lt;/script&gt;
  </code></pre>