I do not encounter this problem when working on the local host, only when I access the page using the IP address of my system, it happens, and it only happens with IE! (works in all other browsers)
By the way, I am using Tomcat V6.0.0.29, IE8
I tried to debug the JS code using the IE developer tool debugger, of course, when I open with http://localhost:8080/
everything works fine, but when I use http://myIP:8080/
, this loop poses a problem: -
$('#someId > div').each(function(){...});
As in this loop, it does not start at all, it just skips it. I checked the identifiers that they are fine and also works in localhost, why should this be a problem when accessing it using my IP?
Note: - a. (fix) The problem exists only in IE7, it works fine in IE8.
b. As it turns out, something strange is happening! I use IE8 when I open this web page using localhost, the developer tools show it works in IE8 standards, but when I use the IP address to access this page, the developer tools show that it works in IE7 standards. When I changed the standards to IE8, it worked (using the IP address)!
with. But the problem is why the hell doesnβt work with IE7! As with everything except the cycle mentioned above.
source share