Y
Hacker News
new
|
ask
|
show
|
jobs
by
gregorkas
4777 days ago
You don't. You register a key press event listener on the main page and when the user types into the iframe, you can catch the strokes.
Example:
http://www.jayssite.com/misc/iframesample.html
(not my site, I googled it)
1 comments
gcb0
4776 days ago
i don't think this example is cross-domain...
link