In IE7, this code does not work correctly:
myJqObj.css("height", DEFAULT_HEIGHT);
When it starts, it seems that the height of myJqObj is 0; However, if I request a height immediately after setting it, everything works fine:
myJqObj.css("height", DEFAULT_HEIGHT);
myJqObj.height();
This also works:
myJqObj.css("height", DEFAULT_HEIGHT);
myJqObj.width();
I am sure that if you run the previous code yourself, everything will work fine. All this happens in the midst of a rather complex page construction. Obviously something in my js environment is throwing an error. Has anyone seen something like this before? Any ideas to start looking for?
source
share