1.如果页面存在父子关系的话
在A页面用js拼接一段URL传递到B页面
2.不是父子关系的页面只能通过cookie

解决方案 »

  1.   

    // window.location.href="VideoDemo.html"
    window.open("VideoDemo.html")改成window.open,直接跳转过去这个页面都卸载了
    function   Take_pic(url) 
           {
                   var filepath = "E:\\PhotoTest\\3\\2" 
                   VIDEOCAP.CreatePicDir(filepath);
                   VIDEOCAP.SetFilePath(filepath);                       
                    VIDEOCAP.Take_Pic(75, 0, 2, jiupian);       
                    var filefullname = VIDEOCAP.GetTakePicFullName();//获得文件全名(路径 + 文件名)
                   alert(filefullname);
    opener.document.getElementById('pic_src').value=filefullname
    }
      

  2.   


    不行额。alert之后 确定了 又弹出第一个页面了,没有返回文件名
      

  3.   

    本地测试不要用webkit核心的浏览器,如chrome,极速模式下的搜狗或者360,本地无法相互访问,要发布网站才才行,高版本的ie或者firefox可能也会出现无法相互访问的问题,最好发布网站来测试