title: first unbind click and then bind (jquery)
body: <p>1.I have a onclick event on, </p>
  
  <pre><code>$('#locations').click(function(){
  $('#train').unbind('click'); 
  //do some stuff
  }
  </code></pre>
  
  <p>2.Once the close button is clicked </p>
  
  <pre><code>$('.close').click(function(){
  //do some stuff
  }
  </code></pre>
  
  <p>3.Then again if I click #train </p>
  
  <pre><code>$('#train').bind('click', function() {
  alert('train is clicked');
  //do some stuff
  }
  </code></pre>
  
  <p>Now the problem is #train is not firing.Is it to bind the event again on .close function?</p>
  
  <p>Please suggest.Thanks in advance.</p>