XUL and Unicode: button label
Paul Miller <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Hi Guys, I have a button featuring a unicode character as a button label: <button id="foo" label="◼" /> The unicode character is displayed correctly upon loading of the xul page. Changing the value of the label fails, however via JS: document.getElementById( "foo" ).label = "▶" ; The characters ▶ are shown as the label, not the unicode character. Any iday, why this is failing or what the correct procedure would be to reassign a unicode character code to the button label dynamically? Thanks, Paul