Reputation: 4503
can i detecting keyPress inside an IFRAME using jQuery? when user paste any copy text in ifram i want to check this text, Is this text contain 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>
Upvotes: 3
Views: 887
Reputation: 57958
is the iframe pointing to the same domain as your main site? if it is pointing to a domain that is not yours, then you cannot do this.
Upvotes: 1