I will replace c:\pictures\picture1.png
to c:\\pictures\\picture1.png
i.e:
var data="c:\pictures\picture1.png"
data=data.raplace('\','\\');
in asp.net it can run with
data=data.replace('\\','\\\\');
when I use this method in jquery it replaced only the firs '\' character and it comes so:
c:\\pictures\picture1.png
how can I replace all '\' characters