Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stops setInterval timer #17

Open
schniedan opened this issue Dec 26, 2012 · 1 comment
Open

Stops setInterval timer #17

schniedan opened this issue Dec 26, 2012 · 1 comment

Comments

@schniedan
Copy link

When executed inside a setInterval timed method it seems to stop the timer. Timer doesn't trigger a second time.
[...]
setInterval(function() {
that.updateComponents();
}, 1000);
[...]

updateComponents: function() {
[...]
for(var i = 0; i < that.components.length; ++i) {
[...]
$("div.contentComponent" + i).ellipsis("p");
[...]
}
}

Any further details on my code wanted?

Cheers,
Andreas

@schniedan
Copy link
Author

Kk, apparently it's not stopping the setInterval but somehow changing something else so the element in my example is not accessible through jQuery selectors any longer. Did anybody else experience something like that before as well?

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

No branches or pull requests

1 participant