Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html5 mssenger

var iframe = document.querySelector('iframe');
var button = document.querySelector('button');

var clickHandler = function() {
   iframe.contentWindow.postMessage('The message to send.',
      'https://www.tutorialspoint.com);
}
button.addEventListener('click',clickHandler,false);
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #mssenger
ADD COMMENT
Topic
Name
3+9 =