Jump to content

spaces in javascript


pouncer

Recommended Posts

Depending on what you're doing, it does work. Keep in mind, however that you are outputting markup, [b]not[/b] visually what the user will see, so you typically have to use non-breaking spaces instead:
[code]
row.innerHTML = values[1] + '   ' + values[2];
[/code]

And so forth
Link to comment
https://forums.phpfreaks.com/topic/28774-spaces-in-javascript/#findComment-131738
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.