title: Make Jquery get element by Id and click it
body: <p>I have two Ajax-methods in my code and I would like one of them to fire the other. It could be demonstrated like this:</p>
  
  <pre><code> $(function() {
        //Code that "clicks #target" and triggers the mthod below.
      });
  
  $( "#target" ).click(function() {
    alert( "The above method clicked #target" );
  });
  </code></pre>
  
  <p>Been looking around a bit but im probably using the wrong searchterms.
  Thanks!</p>