Skip to main content

Bug Tracker

Side navigation

#11660 closed bug (invalid)

Opened April 27, 2012 01:22AM UTC

Closed April 27, 2012 01:30AM UTC

.live() vs .on()

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

I have a scenario where I have 3 google maps all in separate hidden divs. When the associated tab is clicked, the map is displayed and I need to call the 'resize' event to ensure the google map renders correctly (see

Using the above solution worked fine. However, I took a look at the documentation for .live() and it said that it was deprecated in favour for .on(). When I used .on() the event was called but the google map issue was not resolved. If I use .live() it works.

This was the case for Firefox (11), Chrome (18.0.1025.165) and Safari (5.1.5). I have not tested in IE.

Attachments (0)
Change History (1)

Changed April 27, 2012 01:30AM UTC by rwaldron comment:1

resolution: → invalid
status: newclosed

Please use the forums for support.