Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
frameTest1 authored Jun 27, 2024
1 parent ebd7633 commit ac761ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@

</div>

<button onclick="send()">Send</button>



<script>
var getData = document.getElementById('message')

function send() {
window.parent.postMessage('Hello Parent Frame!', '*');
}

getData.addEventListener('keypress',callback)


Expand Down

0 comments on commit ac761ef

Please sign in to comment.