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
Post a Comment