Display partials or some part of (current) document
Asked by Ellie9 years ago.
How to display #someContentDiv (section somewhere separate on the page, but hidden for extended-tooltip-like display purposes), as long as it possible?
Thanx
Answer posted by Dan Letecky [DayPilot]9 years ago.
It's possible to display custom HTML using .showHtml() method.
You can get the inner HTML of a certain element using innerHTML:
var html = document.getElementById("someContentDiv").innerHTML;
new DayPilot.Modal().showHtml(html);
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.