title: How do I replace all occurrences of "/" in a string with "_" in JavaScript?
body: <p>For some reason the <code>"".replace()</code> method only replaces the first occurrence and not the others. Any ideas?</p>