I don't face this problem while working on localhost
only when I access the page using the IP address of my system this happens and it only happens with IE (works on all other browsers).
By the way I'm using Tomcat V6.0.0.29, IE8
I tried debugging the JS code using IE developer tools debugger, of course when I open using http://localhost:8080/
everything works perfectly fine, but when I use http://myIP:8080/
this loop is giving a problem.
$('#someId > div').each(function(){...});
As in this loop doesn't run at all, it just kind of skips it. I have checked the IDs they are fine moreover it's working in localhost
why should it give a problem when I access it using my IP?
I also tried using Apache 2.2 with Tomcat as container but it gives the same problem.