Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to add superscript text to button

Hi All, How to add the superscript text to a button Set . E.g var superText = "x"; Var text = "Name" + superText.sup()   var chartElementBtn = new{ type:, }); chartElementBtn .setText(text); above code is not working. Can someone help me in resolving this. Thanks, Hemapriya

Former Member

Hi Hemapriya,

How about extending Button control, since button 'text' property accepts only string: JS Bin - Collaborative JavaScript Debugging


Sai Vellanki.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question