How do you change the label text with javascript in a firefox addon?
How do you change the label text with javascript in开发者_JAVA技巧 a firefox addon?
A little more context would help, but if myLabel
is a label element (gotten by document.getElementById
or something) then you can just do myLabel.value = 'new text'
.
Some other elements have a label as well, often set using the label
attribute.
精彩评论