title: jQuery .on(), .live(), and .click() all only work one time through
body: <p>I've tried all three and each of them only works one time through, and I have to refresh to get it to work again. Heres my code.</p>
  
  <pre><code>$(document).ready(function(){
      $('#notificationTB').on('click', function(){
          document.getElementById('notificationTB').src='img/notifC.png';
          $('#notifBox').css('display', 'block');
  
          $(this).on('click', function(){
              document.getElementById('notificationTB').src='img/notif.png';
              $('#notifBox').css('display', 'none');
          });
      });
  });
  </code></pre>
  
  <p>Thanks</p>