Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

send keypress from iframe to parent

$("iframe").on('load', function() {
  $(this).contents().on("keydown, keyup", function() {
  	alert("Key pressed");
  });
});
 
PREVIOUS NEXT
Tagged: #send #keypress #iframe #parent
ADD COMMENT
Topic
Name
1+8 =