Simulate hover

Simulate hover

I have some div's ([class^="exhibit_caption_img"] & did have a function that fires on hover, but I put a wrapping border "[class^="exhibit_caption_imgbord"]" on top of it to mask some stuff, so now the hover event isn't registering.


The callout suggested this:
  1. simulate(document.getElementById("btn"), "click");

Tried writing it in jquery like this:
  1. $('[class^="exhibit_caption_imgbord"]').hover(function() {
  2.     simulate([id^="exhibit_caption_img"], 'mouseover')});

Keeps saying can't find variable simulate.

Defined the function like this:
  1.  $(function() {
  2.   function simulate(element, eventName) { ...

What do I need to correct?
Thanks, Bill