On 7/7/06, Oliveiros Cristina <[EMAIL PROTECTED]> wrote:
I need to affect the value of a <label> overlay element on my extension with a string obtained from component.I've tried to do it with this in js label = document.getElementById("user_name_label"); label.value = data; But the problem is when should I call this statements. they work but only when the browser is already displayed.
Are you looking for a more sophisticated answer than "in the load listener"? http://developer.mozilla.org/en/docs/Extension_FAQ#Why_doesn.27t_my_script_run_properly.3F Nickolay _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
