Bug Tracker

Opened 10 years ago

Closed 10 years ago

#5463 closed bug (worksforme)

.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:

Description

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.

Change History (1)

comment:1 Changed 10 years ago by john

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.

Note: See TracTickets for help on using tickets.