Detecting keyPress inside IFRAME using jQuery

Can I detect keyPress inside an iframe using jQuery? when the user inserts any copy text in the ifram, I want to check this text whether this text is in the HTML tags or not.

Please help me.

<iframe class="abc">
 <html>
  <head>
  </head>
  <body>
    some text here(This text may contain html tag)
  </body>
  </html>
</iframe>
+3
source share
1 answer

Is this an iframe pointing to the same domain as your main site? if it points to a domain that does not belong to you, then you cannot do it .

+1
source

Source: https://habr.com/ru/post/1742294/


All Articles