Web client-WebClientUtils plugin with JQuery problem

Hello,

We are currently using the WebClientUtils plugin to integrate with JQuery.

We implemented a document.ready function in a .js file which is added to the web client using
plugins.WebClientUtils.addJsReference. Within this document.ready function, we initialize some
hover functions for form elements, e.g.:

$(document).ready(function(){
   $(".hover_region").hover(
   function () {
    $('#basicmenu').css('visibility','visible');
   },
   function () {
     $('#basicmenu').css('visibility','hidden');
   }
  );
});

We also have a small tabpanel on our form. When navigating to those tab-panels, it looks like the
hover initialization functions are removed from the form elements. We can still execute js functions
but the hover functions set in document.ready are gone. When we do a page refresh (F5), the hover
functions work again.

Is this expected behavior? Is there something we could do to prevent the functions set in document.ready
from being disabled/removed?

Thanks,Norbert

when you navigate to that tabpanel is new data/ui coming to that form?
Because i guess we replace some elements because of new ui or new data.
Are those the one with the hoover attached?

The label(s) having the hover attached are located on other forms than the tabpanel and
they do not have a dataprovider attached.
Sometimes the hover is cleared at the first tab-panel changes and sometimes I can browse
through 3 tabpanels before the hover is cleared.

difficult to say what really happens then, you really have to look what parts of the html are being replaced at what time
You could make a case for that plugin over at ServoyForge with a sample.