Sabtu, 10 Oktober 2015
Jumat, 09 Oktober 2015
Rabu, 07 Oktober 2015
Selasa, 06 Oktober 2015
window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;case "collapseErrorPage":if (iframe.clientHeight > window.innerHeight) {iframe.style.height = window.innerHeight + "px";}break;case "reloadPage":window.location.reload();break;}if("contentWindow" in iframe && "postMessage" in iframe.contentWindow) {var urls = {"docurl":encodeURIComponent(document.URL),"referrer":encodeURIComponent(document.referrer)};iframe.contentWindow.postMessage(JSON.stringify({"type":"urls","value":urls}), "*");}};if (window.addEventListener) {window.addEventListener("message",...