87,955
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
prtURL = prtURL.replace(/^[\s\/]*/,"");
function openWindow() {
var myObject = new Object();
showModalDialog("你的参数地址", myObject,
"dialogWidth:650px;dialogHeight:200px;help:no;scroll:no;status:no");
}
var reTest = /^\/.:\//;
if(reTest.test(prtURL)){ //如果第一个字符是"/"且第三、四个字符是":/"
prtUrl.replace(/^\//,"").replace(/\//g,"\\");
}
var reTest = /^.{2}:/
if(reTest.test(prtURL)){
prtUrl.replace(/^\//,"").replace(/\//g,"\\");