title: JQuery do click events stack
body: <p>I have the following code;</p>
  
  <pre><code>$("#myID").click(function () {
      //do something
  })
  </code></pre>
  
  <p>At some point, a user action on another part of the webpage needs to change the action that occurs on the click e.g.</p>
  
  <pre><code>$("#myID").click(function () {
      //do something different
  })  
  </code></pre>
  
  <p>My question is, what's the correct/most efficient way of doing this? Currently I'm just implementing the second chunk of code above, but will this cause some odd behaviour? i.e. will there now be two different actions performed on click? Or does the second block of code override the first.</p>