Skip to content

Conversation

@gonvaled
Copy link

@gonvaled gonvaled commented Nov 2, 2011

I had a problem with dynamic generated content, and had to workaround it (see discussion here: http://stackoverflow.com/questions/7982493/event-listeners-for-dynamic-content-in-evently)

I have only patched jquery.evently.js. Maybe other files are also of interest. I used this, in case you want to extend this to other files:

cat jquery.evently.js | sed -e 's!.bind(!.live(!'

@mafo5
Copy link

mafo5 commented Mar 28, 2012

The problem with the live event is, that it will bind all events to its parents and so on. We have used your changed evently.js and ran into multiple event trigger when calling same code over and over.

Maybe the "on" binding is a better solution. Don't know if this will fix your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants