Bug Tracker

Modify

Ticket #4331 (closed bug: invalid)

Opened 5 years ago

Last modified 2 years ago

.live() is not working with "scroll" event

Reported by: josser Owned by: brandon
Priority: major Milestone: 1.4
Component: event Version: 1.3.2
Keywords: live scroll Cc:
Blocking: Blocked by:

Description

When i'm binding an event with live() and "eventType" is "scroll", the event is not bind;

Example:

$(document).ready(function(){

$("#first").live("scroll", function(){

alert(123);

});

});

<div id="first" style="overflow: auto; height:120px; width: 130px; margin: 0; padding: 0;"> aaaa <br /> <br /> <br /> <br /> <br /> <br />

<br /> <br /> <br /> bbb </div>

Change History

comment:1 Changed 5 years ago by josser

Ugrr.. I am inattentive ass;

live() currently not supported "scroll" and this information is in docs.

Could this be an improvement?

comment:2 Changed 5 years ago by dmethvin

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

Improvements to .live are on the roadmap; I'll close this since it's working as currently documented.

 http://docs.jquery.com/JQuery_1.4_Roadmap

comment:3 Changed 3 years ago by anonymous

Please, tell me that live() supports "scroll" in ver 1.4.3 :(((

comment:4 Changed 3 years ago by netmajor@…

It is possible that jQuery will be support scroll event in live function ?

comment:5 Changed 3 years ago by anonymous

still not supported in 1.6.1, pretty annoying, could really do with this

comment:6 Changed 2 years ago by anonymous

Really need this support as well. Still doesn't work. :)

comment:7 Changed 2 years ago by rwaldron

Anonymous, live() has been deprecated.

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.