title: jQuery element.dispatchEvent() is not a function?
body: <p>I am trying to use the Lighbox feature of JQuery on an Image Slider. The Image Slider is working absolutely fine, but when I click on the image to view the Image in the Lightbox, then its opening as a simple Image, rather than opening in the lightbox. On Inspecting the element with Firebug, I am getting the following error:-</p>
  
  <pre><code>element = [Document gallery.html]
  eventName = "dom:loaded"
  memo = undefined
  _methodized()prototype.js (line 246)
  fireContentLoadedEvent()
  </code></pre>