javascript stealing whitespace shouldn't?


i have html record formula identical following.



<table>
<tr>
<td id="mycell">hello world</td>
</tr>
</table>


i am controlling javascript following value



document.getelementbyid(cell2.element.id).innertext


this advantage calm "hello world" wholly 1 space between hello world. i contingency keep same array spaces, there any proceed done?



i've attempted controlling innerhtml, outerhtml identical items, nonetheless i'm carrying luck.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members