title: Jquery: execute function without event
body: <p>I want to execute some functions on a selected element <code>$(selected)</code>, using <code>this</code> as the selector. </p>
  
  <pre><code>$(external).click(function(){
    //relevant code below
    $(selected).????(){
      console.log($(this).html()); //i.e.
      console.log($(this).height()); //i.e.
    }
  });
  </code></pre>
  
  <p>Basically, I don't know what to put for in place of ???? above. Any ideas? </p>
  
  <p>Edits * reworded question, and added sample code for clarity. </p>