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