W
wsq
The problem is described below
Use IE6)
Suggest there's a normal button named "x" on web page called
"a.html",When we press the button "x",it generates a new web page
called "b.html",and at the same time,a javascript function named
"init()" is called,the function's target is adding a printing
task,after doing that,the web page "b.html" is closed
automatically.However,something perplexs me.When I login the computer
through RDP (desktop mode)whose OS is Windows2003,everything is ok,but
once I login through RDP(running only one specific programme),after
generating "b.html",the javascript generates ANOTHER web page "c.html"
and proceeds with the adding print task,and finally,the programme close
"c.html" instead of "b.html",so there remains a blank web page
"b.html".
I don't want to leave a additional blank web page after pressing button
"x",
Could ANYONE give suggestion about solving the problem?(the HTML cannot
be modified because I don't have that right)
Thanks in advance! Any suggestion will be appreciated!!
the pieces of the javascript are something like below:
<body onload = "init()">
function init()
{
get_list();//a function get list of current print task
java_controller = new thirdparty("");//thirdparty is the java control
developed by third party
//some other function...
}
function onClose(url)//the function seems a callback function,this HTML
doesn't call it obviously
{
if (url == undefined)//the title of b.html is blank
window.close();
else
window.open(url);
}
Suggest there's a normal button named "x" on web page called
"a.html",When we press the button "x",it generates a new web page
called "b.html",and at the same time,a javascript function named
"init()" is called,the function's target is adding a printing
task,after doing that,the web page "b.html" is closed
automatically.However,something perplexs me.When I login the computer
through RDP (desktop mode)whose OS is Windows2003,everything is ok,but
once I login through RDP(running only one specific programme),after
generating "b.html",the javascript generates ANOTHER web page "c.html"
and proceeds with the adding print task,and finally,the programme close
"c.html" instead of "b.html",so there remains a blank web page
"b.html".
I don't want to leave a additional blank web page after pressing button
"x",
Could ANYONE give suggestion about solving the problem?(the HTML cannot
be modified because I don't have that right)
Thanks in advance! Any suggestion will be appreciated!!
the pieces of the javascript are something like below:
<body onload = "init()">
function init()
{
get_list();//a function get list of current print task
java_controller = new thirdparty("");//thirdparty is the java control
developed by third party
//some other function...
}
function onClose(url)//the function seems a callback function,this HTML
doesn't call it obviously
{
if (url == undefined)//the title of b.html is blank
window.close();
else
window.open(url);
}