Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)



i don't think this example is cross-domain...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: