Title: how to enable/disable menubutton items Post by: koysweb on June 11, 2015, 09:17:53 AM Hi,
I need to enable/disable some menubutton items in execution time, depending on a list of items to disable/enable, stored in a database. (My english is no good) How I do this??? ??? Title: Re: how to enable/disable menubutton items Post by: yamilbracho on June 11, 2015, 11:15:13 AM Check the tutorial
http://www.jeasyui.com/demo/main/index.php?plugin=MenuButton&theme=default&dir=ltr&pitem=# Title: Re: how to enable/disable menubutton items Post by: koysweb on June 12, 2015, 05:25:08 AM I found this instruction:
Quote $('#' + Idmenu).menu('disableItem', $('#' + Idmenu).menu('findItem', denven).target); this works fine in firefox-chromiun's debugger (step by step), but doesn't work when I run it without the debugger ??? ??? ??? |