如果用javascript直接提交就可以用
<script type="text/javascript">
function LeftJump(path, filename){
var thispath = path?method=onlineEdit&filePath='+thispath+'&fileName='+thisfilename;
var thisfilename = filename;
document.forms[0].action=thispath;
document.forms[0].submit();
</script>
document.right.document.location.href一般是在后台脚本页面跳转提交用到的.
<script type="text/javascript">
function LeftJump(path, filename){
var thispath = path?method=onlineEdit&filePath='+thispath+'&fileName='+thisfilename;
var thisfilename = filename;
document.forms[0].action=thispath;
document.forms[0].submit();
</script>
document.right.document.location.href一般是在后台脚本页面跳转提交用到的.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> wefad </TITLE>
<meta http-equiv="content-type" content="text/html" charset="utf-8">
<link rel="stylesheet" type="text/css" href="../css/style.css">
<script type="text/javascript" language="javascript">
function replaceIt(url)
{
var re = /\\/gi;
var url = url.toString();
var proce = url.replace(re, "\\\\");
alert(proce);
}
</script>
</HEAD><BODY>
<button onclick="replaceIt('\\dir1\\dir2\\dir3\\yourfile');">test</button>
</BODY>
</HTML>