开发者

How do you change the label text with javascript in a firefox addon?

开发者 https://www.devze.com 2023-01-29 12:43 出处:网络
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)

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消