title: How to do "If Clicked Else .."
body: <p>I am trying to use jQuery to do something like</p>
  
  <pre><code>if(jQuery('#id').click) {
      //do-some-stuff
  } else {
      //run function2
  }
  </code></pre>
  
  <p>But I'm unsure how to do this using jQuery ? Any help would be greatly appreciated.</p>
  
  <p><em>Edit:</em> I'm trying to run a function if the #id has been clicked and specifically it is has not been clicked then run the function 2 ? i.e. I need to check firstly that the #id has been clicked before running <code>function2</code> ?</p>