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

init in ajax #150

Open
stephanedemotte opened this issue May 9, 2014 · 3 comments
Open

init in ajax #150

stephanedemotte opened this issue May 9, 2014 · 3 comments

Comments

@stephanedemotte
Copy link

Hi,

I try to init jmpress after a ajax call, but a have this error :
Uncaught Error: Method fire does not exist on jQuery.jmpress

I really dont understand :/
I don't find a destroy method, to reset my jmpress.

Any suggestion ?

Thanks ! :)

@sokra
Copy link
Member

sokra commented May 9, 2014

there is a deinit method: http://jmpressjs.github.io/docs/core.html

@stephanedemotte
Copy link
Author

Oh ! thanks for the reactivity ! :)

But this don't solve my ajax problem :/
I load all my page via :: jquery.ajax, and put in a DIV.
The script is say : Uncaught Error: Method fire does not exist on jQuery.jmpress
I try to put a delayedCall, but nothing.

Do you have a example for this case ?

Thanks again :)

@sokra
Copy link
Member

sokra commented May 9, 2014

If you prepare a simple demo, I'll take a look.

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

2 participants