Today I will share a little something about Javascript.
It is small thing but I think it is really - really important, because I have confused about it before :D.
It is about how to remove or replace all of space or x character on your string using Javascript.
I suggest you to use this way, for example :
var bywebs = "1,2,3,4,5,6,7,8,9"; bywebs = bywebs .replace(new RegExp(',', "g"),' '); // it will replace all "," with "(space)" // result 1 2 3 4 5 6 7 8 9
Ok, this is a simple way, but very helpfull :)
Hope it can helps you.
Warm greeting from Bali