MozillaZine

newline in label xul

Talk about add-ons and extension development.
Diamanti
 
Posts: 701
Joined: June 12th, 2008, 9:02 am

Post Posted November 12th, 2016, 2:09 am

i have:
<label id="a"/>
<label id="b"/>
when i set:
document.getElementById("a").textContent="one";
document.getElementById("b").textContent="two";
i obtain
one two
how to obtain:
one
two
?
Last edited by Diamanti on November 17th, 2016, 12:51 pm, edited 1 time in total.

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted November 17th, 2016, 12:48 pm

I think there is a typo in this question?

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 4 guests