Hi Michael,
Thanks for your update,
Query: “Id for the button added to the ribbon”.
By default, Ribbon button controls id are standardized with “controlId_buttontext”. So element id will be created based on this structure in HTML.
If you need to get only button text, then you can split the text from the target element id as shown below.
btnText=btnId.slice(this._id.length+1);//Here this._id means ribbon control id
Regards,
Rajesh kumar A.