I have datatable rows links coming with data and I wanna change part of the link text.
So, for example, when it's 200.0.0.10 change it to 160.11.10.12
I tried it with this code but nothing happened, the link remains unchanged:
var url = (data['Chemin'])
window.location.href = url.replace("http:\\200.0.0.10", "\\160.11.10.12\Images");
data['Chemin']value ishttp:\\200.0.0.10?