view iframe-resizer/test/resources/testLib.js @ 1:440f4aa3db97 draft

Added option to dowload iReports
author saskia-hiltemann
date Wed, 30 Jul 2014 07:03:43 -0400
parents ac5f9272033b
children
line wrap: on
line source

function sendMessage(msg){
    'use strict';
    var msgId = '[iFrameSizerTest]:';

	document.getElementsByTagName('iframe')[0].contentWindow.postMessage( msgId + msg, '*' );
}