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
?
newline in label xul
-
- Posts: 779
- Joined: June 12th, 2008, 9:02 am
newline in label xul
Last edited by Diamanti on November 17th, 2016, 12:51 pm, edited 1 time in total.
-
- Posts: 3664
- Joined: September 15th, 2010, 9:03 am
Re: newline in label xul
I think there is a typo in this question?