2014-04-29 3 views
0

나는 .js와 .vbs가 있습니다.AlertBox VBSCRIPT IE11

의 .js

IE4 = document.all; 

function newAlert(title,mess,icon) { 
    (IE4) ? makeMsgBox(title,mess,icon,0,0,0) : alert(mess); 
} 

function msgBox(title,mess,icon,buts,defbut) { 
    retVal = (IE4) ? makeMsgBox(title,mess,icon,buts,defbut,0) : null; 
    return retVal; 
} 

.VBS

Function makeMsgBox(tit,mess,icons,buts,defs,mods) 
    butVal = buts + (icons*16) + (defs*256) + (mods*4096) 
    makeMsgBox = MsgBox(mess,butVal,tit) 
End Function 

Function makeInputBox(tit,pr,def) 
    makeInputBox = InputBox(pr,tit,def) 
End Function 

나는 IE11에서이 대체 방법이 필요합니다. 나는 IE11이 .vbs와 document.all을 더 이상 지원하지 않는다는 것을 안다. 하지만 같은 기능이 필요합니다. 어떤 옵션이 있니?

답변

0

"기능"이 정확히 필요합니까? IE11에서

는 인터넷 영역에서, 당신의 최선의 선택은 자바 스크립트에서 하나 alert(), 또는 당신은 이전 VBScript를 경고 상자처럼 보이는하는 HTML 팝업을 만들 수 있습니다.