469,936 Members | 2,444 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,936 developers. It's quick & easy.

How to capture events of IFRAME

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
2 2820
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
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.

Similar topics

2 posts views Thread by aimee | last post: by
reply views Thread by PA | last post: by
12 posts views Thread by scsharma | last post: by
3 posts views Thread by Dave | last post: by
4 posts views Thread by Venkatesh | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.