|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 07 > 11 > Telegram_2020-07-11T10 |
2020-07-11T10:03:05
This is what I told you
2020-07-11T10:03:14
There is a style named disabled
2020-07-11T10:03:17
type: link https://getbootstrap.com/docs/4.0/components/navs/
2020-07-11T10:04:42
And there is a 'remove' and 'add' or replace method via JavaScript to remove or change/replace that style
2020-07-11T10:04:45
type: link https://www.w3schools.com/howto/howto_js_remove_class.asp
2020-07-11T10:49:28
So with J's you need to get the div and add or remove the class 'dosable' to that div. If that will be done with IW. The JS code should be sent via an async event using webapplication. callbackresponse.adjavascript
2020-07-11T10:57:55
Yes in the template I can disable and enable however what I intend to do is to disable or enable the menu at runtime in Intraweb environment based on access level. Some menu items are not enabled for some users at the main dropdown level that would shield the submenu to be accessed by non authorized user. So the question is how to get to the dropdown properties from html template but in Intraweb environment to enable and disable it?