javascript - p:selectOneMenu hide popup on mouseOut event -


i have primefaces component, , need hide popup of element on mouseout event. can`t add onmouseout in component, because primefaces not support attribute.

<p:selectcheckboxmenu id="selectcheckboxmenu" label="selectcheckboxmenu" onmouseout="hidepopup">   <f:selectitems value="#{selectonemenubean.availableregions}" /> </p:selectcheckboxmenu> 

any appreciated.

since have mentioned jquery can add mouseout below:

$("#selectcheckboxmenu").on('mouseout',function(){    //write hidepopup function content here }); 

or can try mouseleave

$("#selectcheckboxmenu").on('mouseleave',function(){    //write hidepopup function content here }); 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -