title: javascript addEventListener 'storage' in jquery
body: <p>What is the equivalent of this <strong>javascript addEventListener</strong> </p>
  
  <pre><code>function displayStorageEvent(e) {
      if (e.key == 'storage-event') {
          output.innerHTML = localStorage.getItem("storage-event");
      }
  }
  window.addEventListener("storage", displayStorageEvent, true);
  </code></pre>
  
  <p>to <strong>Jquery?</strong> I have been trying to use it with <strong>.bind()</strong> but it does not know the "storage" keyword. I tried it with this but 'e' is undefined.</p>
  
  <pre><code>$(document).ready(function(){
      displayStorageEvent();
  });
  </code></pre>
  
  <p>thanks. </p>