HelpBot Assistant

How can I help you?

How to

Get Ribbon object

After Ribbon initialization, Ribbon object is stored in a container element of Ribbon and it can be accessed for further processing.

  • JS
  • // "defaultRibbon" is Id of Ribbon control
         var ribbonObject = $("#defaultRibbon").ejRibbon("instance");
    
           [or]
    
         var ribbonObject = $("#defaultRibbon").data("ejRibbon");