Opened 13 years ago
Closed 13 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.
Note: See
TracTickets for help on using
tickets.
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.