Hallo gondor,
Jemand eine Idee?
Dir hilft sicher /g. Dort heißt es: >findet "aus" so oft wie es in dem gesamten zu durchsuchenden Bereich vorkommt<Mit freundlichem Gruß
Micha
So sieht der Code aus:
var act_value= "hallo test1 hallo test 2";
act_value=act_value.replace(/ /g, '_');
alert(act_value);
Gruß
SLaughter