JS의 간단한 설명으로 감청하기
                                            
 2128 단어  IE
                    
function whichElement(e)
{
    var targ;
    var path = "<" + currenPath + ">";
    if (SDCARD_STATU_ENABLED != sdCardStatu)
    {
        alert(dj('sd_label_no_sd_card'));
        return;
    }
    if (!e)
    {
        var e=window.event;
    }
    if (e.target)
    {
        targ=e.target;
    }
    else if (e.srcElement)
    {
        targ=e.srcElement;
    }
    if (targ.nodeType==3) // defeat Safari bug
    {
        targ = targ.parentNode;
    }
    if (window.win && (window.win.closed == false))
    {
        window.win.close();
    }
    path = path.replace(/\%/g, "%25");
    path = path.replace(/\ /g, "%20");
    path = path.replace(/\</g, "%3C");
    path = path.replace(/\>/g, "%3E");
    path = path.replace(/\//g, "%2F");
    path = path.replace(/\&/g, "%26");
    path = path.replace(/\=/g, "%3D");
    path = path.replace(/\#/g, "%23");
    var url = 'sd_upload.htm?path='+path;
    win = window.open(url, 'tree', 'scrollbars=yes,resizable=no,width=720,height=480');
    watchChildWin();
    $("#button_upload").attr("disabled", true);
    $("#button_upload").css("color", "#ACA899");
}
function watchChildWin()
{
	try
	{
		if ( null == win.document || (win.closed == true)) //firefox Google Opera
		{
			setControlDisable("button_upload", false);
			$("#button_upload").attr("style", "color:#000000");
		}
		else
		{
			setTimeout("watchChildWin()", 100);
		}
	}
	catch(e) //ie
	{
		setControlDisable("button_upload", false);
		$("#button_upload").attr("style", "color:#000000");
	}
}  이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
KindEditor 4.1.2 ie6 loadScript bugKindEditor 버전 4.1.2 ie6 아래_loadScript 메소드 버그 소스 코드는 다음과 같습니다. 이 세그먼트 코드를 다음 코드로 변경하면 정상적으로 실행됩니다....
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.