Skip to main content

Bug Tracker

Side navigation

#5463 closed bug (worksforme)

Opened November 06, 2009 11:16AM UTC

Closed November 07, 2009 02:30PM UTC

.width() not returning correct result in IE<8 of Safari browsers when content injected in dom

Reported by: nicskitt Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: load,width Cc:
Blocked by: Blocking:

When inserting content into the DOM via the load() call the correct width of the containing div is not returned when using the width() function in certain browsers. IE8 & FF3+ do not seem to be affected.

In most cases the total width of the window is returned instead.

Attachments (0)
Change History (1)

Changed November 07, 2009 02:30PM UTC by john comment:1

resolution: → worksforme
status: newclosed

WIthout an example, it sounds like this may be a logic error in your code. You should make sure that you don't call the .width() method too soon.