layer弹出层 获取index

    function closelayer(){
     var index = parent.layer.getFrameIndex(window.name); 
        parent.layer.close(index);
    }

 

posted @ 2017-05-31 17:24  赵天成123  阅读(14815)  评论(0编辑  收藏  举报