By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,964 Members | 1,810 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,964 IT Pros & Developers. It's quick & easy.

How to capture events of IFRAME

P: n/a
PA
Hi,

Can anyone tell me how to capture events of iframes like keypress.

I have an editable iframe. When I hit <enter> it actually prints <p>
instead of <br>. (innerHTML) Does anyone know how to handle this and
change <p> to <br>.

I can always do it in the form.submit() event. But I want to do it as
soon as 'enter' is hit.

Thanks in advance.

Pratibha
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You can hit <shift><enter> to get the <br> statement.

Did you find out how to detect events in an editable iframe?

Regards Martin

Jul 20 '05 #2

P: n/a
You can hit <shift><enter> to get the <br> statement.

Did you find out how to detect events in an editable iframe?

Regards Martin

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.