-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cannot open calendar when DOM ist removed #15
Comments
Hey, |
Thank you Mike, but i think there is a little bit more work (maybe on my side?) to do - or i just dont get it running :) I made a fiddle which represents my problem: https://jsfiddle.net/louis123562/s405xkfm/15/ I know that replacing the whole body is not good way, but it is as it is at the moment. The calender is shown without css styles (in fiddle), but in my real project it does not appear in the DOM anyway (after replacing the body). Can you help me out on this? |
The problem with the jsfiddle is that you are writing the whole code in the HTML area, but in that area, you should add only the content of the body element, everything else has its own dedicated area. I've saved the code in an HTML file, and opened it, and that works as well. |
Hey Mike, i rewrited my code on this weekend, so the body will not be emptied. It should fix my problem, i will try out later today :) |
Yep, it works like a charm now :) |
Hey,
we sometimes need to replace the whole body-element with new html.
When i try to open up the calendar (by creating a new constant) it wont show up.
Do you have a fix for this?
Here is an example (with jquery):
The text was updated successfully, but these errors were encountered: