|
<script type="text/javascript">
function BeforeClose()
{
if(!X3X.TerminateQuery())
{
event.returnValue = "";
}
}
document.title = X3X.DisplayName;
X3X.ServerURL = "<%= url%>"
//X3X.ShowSplash();
X3X.UpdateVersion();
X3X.Init();
X3X.Logon("GLZ",""); //增加的
alert(X3X.Invokemethod("GetOperatorID","")); //增加的
//X3X.CloseSplash();
X3X.Run("", "", "", "");
document.body.onbeforeunload=BeforeClose;
document.title = X3X.DisplayName;
</script>
出现的错误如图:
|
|