A javascript problem,help!

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);
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top