Hi everyone,
I'm trying to do a plugin for firefox in XUL language. So I got informations in json, I parsed them and I can use the title in javascript. But I would use it in XUL language.
For exemple, in html you can write : <a href="javascript: function()"> link </a>
;
So I need to list each title in a menuitem label,
but I don't want to hardcode it like that <menuitem label="toto"/>
I would like recup the string of my javascript's function and do something like that :
"<menuitem label="javascript:function();"/>"
I didn't find anything in internet, so I hope I had good explain my problem and I hope someone could answer it. Thank you.