window.open is not working for only 1 of my hundreds of users
I have 1 user on the website I maintain that window.open is not working for. We have hundreds of other users that this is working for except this one person. The user tried using IE9 and IE8.
Scripting is allowed in the browser and the popup blocker is off. Below is the code that is not working for the user:
The winName variable equals "Profile".
Please let me know if you have any ideas why this might not be working for this user.
I did use the debugger, but I tried to set a breakpoint in the function. The debugger would not allow a breakpoint in the function due to those blocks. I can try to set a breakpoint where the function is being called, but my user may not be in until Monday.
Felgall, I was thinking the same thing, but I don't how I can check for a character set mismatch. Those blocks look like they could be spaces.
I looked and I don't think that the webpage is setting utf-8 encoding in any of our pages if that helps.
maybe simply make dead sure that, in the original HTML/JS source code, that you use *only* spaces in there. Actually delete the characters that are there now and type in spaces. Or just delete the characters that are there, since the spacing is only for humans; JS doesn't care.
And yeah, of course you wouldn't be able to set a breakpoint there. If you are getting a syntax error in the function, then the function doesn't exist. But the error console would tell you about the syntax error without the need to use any breakpoint.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Also, why is only 1 person out of our hundreds of users having this issue? It doesn't make much sense..
It depends on what default characterset you configure your browser to use. In this case one of your visitors had the charset set in a way that caused the problem whereas the other visitors had it set to a different value that didn't cause the problem. Likely the majority are using the default and the one changed it or the one is in a different country to the others.