Hi,
I have a problem in that I have values coming from a database which contain instead of a normal space. I'm trying to replace all instances of this with a normal space. They are outputted in my javascript within a new Option function, so I'm not sure how to go about doing a string replace on this. Any help would be much appreciated. Here is my code:
Code:if (chosen4 == "17") { selbox4.options[selbox4.options.length] = new Option('Only 34.99 EUR','link1.html'); }



Reply With Quote



Bookmarks