TS Web Access options button is refreshing the screen possible jscript issue

Hello,

I am using TS Web Access installed on a 2008 Terminal Server R1 and the options button is not working correctly, and i think the problem is in the HTMl or jscript code attached.  What is happening is when you click on the "Options" button the options become visable as they should, but after about a second the page refreshes and they are re-hidden.

Any help would be greatly appreciated.

cheers,

Tony
function hideshowOptions(){
                    if (document.getElementById("opt_panel").style.visibility == "hidden") {
                        document.getElementById("opt_panel").style.visibility = "visible";
                        document.getElementById("ButtonOptions").innerHTML = "<u>O</u>ptions" +" &lt;&lt;";
                    }
                    else {
                        document.getElementById("opt_panel").style.visibility = "hidden";
                        document.getElementById("ButtonOptions").innerHTML = "<u>O</u>ptions" +" &gt;&gt;";
                    }
                }
                var myExp = new Array(7);
                var myAr
                myAr = new Array

Open in new window

TSWebAccess.png
LVL 8
tonyperthAsked:
Who is Participating?
 
tonyperthConnect With a Mentor Author Commented:
The problem is not with the script exactly, it seems to be a browser issue.  When using IE8 the options button refreshes the page, in compatability view it works as expected.

Any ideas how i can remedy this? excluding using compatability view.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.