In IE8 (XP), JS behaves differently if my account has Administrator access???
-
I've been charged with the fun task of going through all our existing web applications and seeing how they behave under IE8 (XP, not Vista), with and without compatibility mode. The latest oddity has me baffled, and I wonder if anyone can give me any hints as to where to look. I'll spare you the code (there's a lot of it), but this component has a SELECT, size=10, with about 3000-odd options: it's a list of names. Below it is an input type=text with a JS function attached to an onKeydown that tries to move to the appropriate name in the list depending on what you type in the box: type a W, it moves to the first W in the list of names, and so on. It works. There's a lot of code there, but it works. The problem is that if I'm in IE8, without compatibility mode, and the account I use to log into that PC has Administrator access, it still works, but S-L-O-W-L-Y. Get rid of administrator access, and it's back to full speed. Use compatibility mode, it's back to full speed. I can only assume that when the user has admin access, the JS is doing something in addition to the norm, somewhere. I can't imagine what - I dread to think what! Has anyone seen anything like this before? I'll go through building the code up from the basics and seeing which command has the delay if I have to, but it's going to be a big job. By the way, the application in question is used almost exclusively by our IT support team, so asking them to do without their administrator accounts will not be a popular answer.
-
I've been charged with the fun task of going through all our existing web applications and seeing how they behave under IE8 (XP, not Vista), with and without compatibility mode. The latest oddity has me baffled, and I wonder if anyone can give me any hints as to where to look. I'll spare you the code (there's a lot of it), but this component has a SELECT, size=10, with about 3000-odd options: it's a list of names. Below it is an input type=text with a JS function attached to an onKeydown that tries to move to the appropriate name in the list depending on what you type in the box: type a W, it moves to the first W in the list of names, and so on. It works. There's a lot of code there, but it works. The problem is that if I'm in IE8, without compatibility mode, and the account I use to log into that PC has Administrator access, it still works, but S-L-O-W-L-Y. Get rid of administrator access, and it's back to full speed. Use compatibility mode, it's back to full speed. I can only assume that when the user has admin access, the JS is doing something in addition to the norm, somewhere. I can't imagine what - I dread to think what! Has anyone seen anything like this before? I'll go through building the code up from the basics and seeing which command has the delay if I have to, but it's going to be a big job. By the way, the application in question is used almost exclusively by our IT support team, so asking them to do without their administrator accounts will not be a popular answer.
Can you not use the debugger built in to IE8 to find out which code is taking the time? It'll be easier than building the code up.
-
Can you not use the debugger built in to IE8 to find out which code is taking the time? It'll be easier than building the code up.
You can tell I'm new to IE8, can't you? I'd overlooked that completely. I'll go and find out about the debugger and how to use it, I'm sure Google will show up a tutorial or two. Thanks!
-
You can tell I'm new to IE8, can't you? I'd overlooked that completely. I'll go and find out about the debugger and how to use it, I'm sure Google will show up a tutorial or two. Thanks!
Hit F12 from within your IE and it should fire open the debugger for you to go and get started with the pearl-diving venture.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep! -
Hit F12 from within your IE and it should fire open the debugger for you to go and get started with the pearl-diving venture.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!"Pearl-diving" - what a lovely way of putting it! Thanks, as soon as I'm released from fire-fighting I'll go and do that.