Nejak takto by to nefungovalo?
<script>
function myFunction() {
var str = "[//]:#LA";
var res = str.replace(str, "Niečo iné");
document.getElementById("demo").innerHTML = res;
}
</script>
Nejak takto by to nefungovalo?
<script>
function myFunction() {
var str = "[//]:#LA";
var res = str.replace(str, "Niečo iné");
document.getElementById("demo").innerHTML = res;
}
</script>