How to capture events of IFRAME

Discussion in 'Javascript' started by PA, Feb 12, 2004.

  1. PA

    PA Guest

    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
     
    PA, Feb 12, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. PA
    Replies:
    0
    Views:
    659
  2. Max
    Replies:
    7
    Views:
    9,126
  3. Chris

    Events Events Events Please Help

    Chris, Aug 30, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    375
    Chris
    Aug 30, 2005
  4. Daedalous
    Replies:
    3
    Views:
    715
    Daedalous
    Jan 16, 2004
  5. Venkatesh

    Capture mouse events inside an iframe

    Venkatesh, Aug 17, 2006, in forum: Javascript
    Replies:
    4
    Views:
    203
Loading...

Share This Page