Bug Tracker

Modify

Ticket #5463 (closed bug: worksforme)

Opened 4 years ago

Last modified 4 years ago

.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:
Blocking: Blocked by:

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

comment:1 Changed 4 years ago by john

  • Status changed from new to closed
  • Resolution set to worksforme

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.