I am building an app using appcelerator which needs to display a mathematical expression e.g 2^3 but with the 3 being a small number above the 2. Is there a way to express mathematical expressions in Javascript?
Notes
- The text is a static bit of text.
- Language in use is Javascript.
- Runs on the iPhone/Android simulator in the appcelerator framework.
- Appcelerator escapes HTML
Thanks in advance for any assistance.